2016-01-21 46 views
0

我是新的autohotkey,如何在出現對話框時發送回車鍵對話框的標題是「轉換」有時候這個對話框可能會出現超過一旦。可能嗎 ?如何在出現對話框時發送回車鍵

+0

見https://autohotkey.com/docs/commands/SetTimer.htm#Examples – user3419297

+0

遺憾是不禮貌的,但爲什麼會這樣得到upvoted? – Blauhirn

回答

1

使用Autohotkey文件夾中的AU3_Spy.exe爲該窗口查找正確的標題。
然後用這個:

SetTimer, CloseDialogue 
CloseDialogue: 
    WinWait, title 
    WinClose, title 
Return 

,並與窗口的正確的標題替換稱號。

WinClose
WinWait