I don't have the code snippet in work so will edit this post when I get home but...
[code:1]/::
ENTER:::
Suspend
return[/code:1]
that is the basics of what you are after... it will toggle the suspend state of the script whenever you hit either the / or the ENTER
the problem I had was that I lost track of whether the script was supended or not (autohide task bar)
so I added extra functionality that checks the state and displays a popup when suspended.
btw if the first line after the hotkey is not suspend then you need to add the command
[code:1]Suspend Permit[/code:1]
this goes for any hot keys that you want to work even when suspended e.g reload or edit
Connect With Us