文件上传:
1. 下载该工具:
http://www.autoitscript.com/site/autoit/downloads/
编写AutoHotkey/AutoIt脚本来实现自动化操作
2. autoit代码如下:
WinWait("[Class:#32770]","",5)
WinActivate("[Class:#32770]")
ControlFocus("[Class:#32770]","","[CLASS:Edit;INSTANCE:1]")
Send("D:\G.jpg")
ControlClick("[Class:#32770]","打开(O)","取消")
Send("!O")
在autoit 工具SciTE Scripte Editor中编写:
或者
upload()