#SuspendExempt
From Auto Hotkey
#SuspendExempt
Exempts subsequent hotkeys and hotstrings from suspension.
#SuspendExempt Exempt
Parameters
- Exempt
Trueor1to enable exemption for subsequent hotkeys, orFalseor0to disable exemption. If omitted, it defaults toTrue.
Remarks
Hotkeys and hotstrings can be suspended by the Suspend function or via the tray icon or main window.
If this directive is unspecified in the script, all hotkeys or hotstrings are disabled when the script is suspended, even those which call the Suspend function.
This directive does not affect the Hotkey or Hotstring functions.
Related
Example
#SuspendExempt ; Exempt the following hotkey from Suspend. #Esc::Suspend "Toggle" #SuspendExempt False ; Disable exemption for any hotkeys/hotstrings below this. ^1::MsgBox "This hotkey is affected by Suspend."