This is my attempt, but it's performing the Down and Enter actions everywhere, not just in WinRar. What am I doing wrong?
Code: Select all
#IfWinActive ahk_exe WinRAR.exe
#Persistent
SetTimer, UnZip, 1000
return
UnZip:
IfWinActive, ahk_exe WinRAR.exe
Send !c
Sleep 100
Send {Down}{Enter}
Sleep 100
Send {Enter}
return