本帖最后由 尧滚男 于 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
怎么办呢?
补充:如果不用设置常量的方法还有没有别的方法能解决的 请大家别吝啬啊! |