Jump to content

something wrong with pause


 Share

Recommended Posts

HotKeySet("1", "TogglePause")

$x = 0

while 1

$x = $x + 1

msgbox(0,"test",$x,1)

WEnd

Func TogglePause()

$PAUSED = NOT $PAUSED

While $PAUSED

sleep(100)

ToolTip('Script is "Paused"',0,0)

WEnd

EndFunc

i guess this pauses it

but pressing 1 again will not make it resume

hmmmmmmmm, breakfast awaits

mmm beer

i want to be able to unpause it as well, yet its not working.

thanks to all who contribute

Todd

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Link to comment
Share on other sites

  • Developers

NEVER!

beer is good

thanks, now i just need to figure out how to turn off the tooltip when you unpause it

<{POST_SNAPBACK}>

check out the example in the helpfile for HotKeySet()...

It has the fix for both of your issue .. :idiot:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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...