Jump to content

Pause


Recommended Posts

Hi Guy's

I took this from the HELP file, but i cannot make it work somehow.

The script does indeed pause, but in no way I can make it resume it's task....

HotKeySet("{F11}", "TogglePause")
;
pieces of script....
;
Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Do I miss anything?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...