one part disables working of another part which is not wanted
Posted: 20 Jun 2018, 09:49
Hallo, I wanna Pause another script, it is sometimes going mad. For this I use the following.
But when this is active the following isnt working anymore. When I put the above part below the above part it not working but the second part.
How can I get both parts in the same script working?
Code: Select all
#IfWinActive ahk_exe firefox.exe
PRINTSCREEN::
{
; Send a Pause command to another script.
DetectHiddenWindows, On
WM_COMMAND := 0x111
ID_FILE_PAUSE := 65403
PostMessage, WM_COMMAND, ID_FILE_PAUSE,,, [PATH]\Script.ahk ahk_class AutoHotkey
DetectHiddenWindows, Off
}
return
Code: Select all
SetTitleMatchMode RegEx
:::)::[UTF-SMILEY]