popo5000 发表于 2013-4-12 15:24:42

求助! 帮忙看下以下代码能否用一句表示出来?

刚学,不懂。请问在同一页面连续用鼠标点击以下按键,能否写成一句表示出来

ControlClick($az,$fw,"Button7")
ControlClick($az,$fw,"Button6")
ControlClick($az,$fw,"Button5")
ControlClick($az,$fw,"Button4")
ControlClick($az,$fw,"Button3")
ControlClick($az,$fw,"Button1")

user3000 发表于 2013-4-12 19:07:29

用一个循环:For $i = 7 to 1 step -1
ControlClick($az,$fw,"Button" & $i)
Next

勇者不坏 发表于 2013-6-14 10:01:10

╮(╯▽╰)╭{:face (303):}
页: [1]
查看完整版本: 求助! 帮忙看下以下代码能否用一句表示出来?