|
本帖最后由 mjp_008 于 2011-6-3 17:46 编辑
For i=0 to 100
SwfWindow("Interface Tools(1.0.3.4)").SwfObject("SwfObject").Click 47,19
SwfWindow("SwfWindow").SwfObject("SwfObject").Click 58,325
SwfWindow("Interface Tools(1.0.3.4)").Dialog("Select File").WinListView("SysListView32").Select "tempsku.xls"
SwfWindow("Interface Tools(1.0.3.4)").Dialog("Select File").WinButton("Open").Click
SwfWindow("Interface Tools(1.0.3.4)").SwfObject("SwfObject").Click 115,13
Next
循环到20次时才报错:the statement contains one or more invalid function arguments. 为什么呢? |
|