找回密码
 加入
搜索
查看: 3478|回复: 2

[原创] 关于自动安装 更改保存路径的问题

[复制链接]
发表于 2010-2-20 22:07:25 | 显示全部楼层 |阅读模式
本帖最后由 尧滚男 于 2010-2-20 22:26 编辑

下面的代码编到一半不会编了,小弟初次接触AUTOIT3还望大侠们多多指教,我在线等....等到困了....
run(sketchup6.0.exe)
WinWaitActive("google sketchup pro 6 - installshield wizard")
ControlClick ( "google sketchup pro 6 - installshield wizard", "next(&N)>", "Button2")
WinWaitActive("google sketchup pro 6 - installshield wizard")
ControlClick( "google sketchup pro 6 - installshield wizard", "i accept the terms of the license agreement(&A)>", "Button5")
ControlClick( "google sketchup pro 6 - installshield wizard", "next(&N)>", "Button2")
WinWaitActive(google sketchup pro 6 - installshield wizard)
ControlClick( "google sketchup pro 6 - installshield wizard", "change(&C)>", "Button3")
WinWaitActive("Choose Folder")
Dim $var,$inifile
$var = ControlGetText("Choose Folder", "path", "Edit1")
想把保存路径改到 D:\Program Files\Google\Google SketchUp 6
原来的默认路径是 C:\Program Files\Google\Google SketchUp 6
怎么办呢?
补充:如果不用设置常量的方法还有没有别的方法能解决的 请大家别吝啬啊!
发表于 2010-2-23 22:00:13 | 显示全部楼层
好久没进这个版块了,3天了,不知道楼主的问题是否已经解决?

去帮助文档翻翻这些函数吧! ControlSetText 、ControlSend
发表于 2010-4-24 16:38:45 | 显示全部楼层
我也想知道楼主提的这个问题
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-5 21:26 , Processed in 0.074626 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表