我可以使用什么函数来暂停 AutoIt 中的脚本?
我知道我可以像这样使用 sleep :
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
但是有没有在 AutoIt 中实现的暂停功能?
最佳答案
sleep 已经是 AutoIt 中的“暂停”功能。
暂停脚本的唯一其他方法是在 Debug模式下单击托盘图标。
关于autoit - 在 AutoIt 中以编程方式暂停脚本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8017617/