AutoIT 杂记,操作对话框

Run("notepad.exe")
WinWaitActive("无标题 - 记事本")
Send("这是我的一些内容~!@#$%^")
WinClose("无标题 - 记事本")
;WinWaitActive("Static","否(&N)")
;WinWaitActive("[Size:266, 126;]", "想保存文件")
;Sleep(1000)

;WinWaitActive("无标题 - 记事本")
;Send("!N")
Sleep(1000)
ControlClick("记事本", "", "[CLASS:Button; INSTANCE:2]")    ;此句有效




AutoIT 3主页.

http://www.autoitscript.com/autoit3/

posted @ 2010-12-02 18:17  庚武  Views(493)  Comments(0Edit  收藏  举报