Code: Select all
#IfWinActive Calibre
ENTER::
{
Send {ENTER}
Sleep 250
#IfWinActive ahk_exe explorer.exe
{
Gosub, CheckErrorLevel
Return
}
Return
}
Code: Select all
#IfWinActive Calibre
ENTER::
{
Send {ENTER}
Sleep 250
#IfWinActive ahk_exe explorer.exe
{
Gosub, CheckErrorLevel
Return
}
Return
}
Code: Select all
#IfWinActive Calibre
ENTER::
{
Send {ENTER}
;Sleep 250
;#IfWinActive ahk_exe explorer.exe
WinWaitActive, ahk_exe explorer.exe,,0.3 ; wait for 0.3sec until this win is active. It fails if not active after 0.3 sec
if (! ErrorLevel)
{
Gosub, CheckErrorLevel
Return
}
Return
}
Users browsing this forum: Google [Bot], RandomBoy, scriptor2016 and 354 guests