目前寫自動安裝寫到一半卡住,不管用什麼偵測條件,他就是不在那個視窗做動作...
想問是哪邊要改呢?
由上到下的抓取值是
Button2
Button3
Button4
edit1
edit2
Button6
Button7
Button8
edit3
edit4
Button9
語法
;輸入連線密碼
WinWaitActive("TightVNC Server: Set Passwords","")
ControlClick("TightVNC Server: Set Passwords","","button4")
ControlSend("TightVNC Server: Set Passwords","Password for Remote Access","[CLASS:edit;INSTANCE:1]",123)
ControlSend("TightVNC Server: Set Passwords","Password for Remote Access","[CLASS:edit;INSTANCE:2]",123)
ControlClick("TightVNC Server: Set Passwords","","Button7")
ControlClick("TightVNC Server: Set Passwords","","Button9")