我有SetTimers
指向多個標籤,但他們在其中一個標籤中有WinWait
時停止工作。如何在不阻礙其他人的情況下在多個標籤上使用WinWait?
SetTimer, MyLoop, -5
SetTimer, MyLabel, -1000
Return
MyLoop:
SoundBeep, 700
SetTimer, MyLoop, -5
Return
MyLabel:
SoundBeep, 300
WinWait, Notepad
SetTimer, MyLabel, -1000
Return
MyLoop
停止儘快MyLabel
達到WinWait
部分工作。如何讓MyLoop
繼續運行,而MyLabel
正在等待WinWait
的運行?
檢查窗口是否存在於內含「睡眠20」的循環中。 – wOxxOm