can anyone help me how to do this
This is the script
^z::
Pause
Suspend
return
whenever the sript is pause/suspend , it will also pop-up a message "Script has been paused/suspended"
If script is pause.suspend Topic is solved
Re: If script is pause.suspend
What you want is the MsgBox command.
Re: If script is pause.suspend
ys i do know about and it can use GUI instead but what i dont know is how to make it pop-up when the script is pause/suspend
example, when i press control+z, it will pause/suspend the script while give u e message onscreen that it is paused/suspended
Re: If script is pause.suspend
Just put it before the pause and suspend. The script isn't technically paused yet, but does it really matter?
Code: Select all
^z::
MsgBox, Script has been paused/suspended
Pause
Suspend
return
Re: If script is pause.suspend
Osprey wrote: ↑27 Mar 2019, 17:53Just put it before the pause and suspend. The script isn't technically paused yet, but does it really matter?
Code: Select all
^z:: MsgBox, Script has been paused/suspended Pause Suspend return [/quote] I cant seem to re-enable it again after pressing control Z
Re: If script is pause.suspend
Put "Suspend" first:
Code: Select all
^z::
Suspend
MsgBox, Script has been paused/suspended
Pause
return
Re: If script is pause.suspend Topic is solved
Code: Select all
^z::
Suspend On
MsgBox, Script has been paused/suspended
Pause On
return
#If (A_IsPaused)
^z::
Suspend Off
Pause Off
MsgBox, Script has been unpaused/unsuspended
return
#If
Re: If script is pause.suspend
the perfect answer ive been looking for.GEV wrote: ↑31 Mar 2019, 13:42Code: Select all
^z:: Suspend On MsgBox, Script has been paused/suspended Pause On return #If (A_IsPaused) ^z:: Suspend Off Pause Off MsgBox, Script has been unpaused/unsuspended return #If
knowledge is power is upon you my lord
You have my eternal gratitude, sir