frostyflip Posted February 25, 2006 Share Posted February 25, 2006 Can some1 modify my script plz x.x just add key to start and pause my script then when i press it again it start de script My script ---->Sleep(3000) While MouseMove(277,173) MouseClick("Left") Sleep(2000) MouseMove(277,193) MouseClick("Left") Sleep(3500) Wend Link to comment Share on other sites More sharing options...
Valuater Posted February 25, 2006 Share Posted February 25, 2006 ; Press Esc to terminate script, F9 to "run/pause" Global $Paused HotKeySet("{F9}", "TogglePause") HotKeySet("{ESC}", "Terminate") ;;;; Body of program would go here;;;; While 1 Sleep(100) WEnd ;;;;;;;; Func TogglePause() $Paused = Not $Paused While $Paused ToolTip('Script is "Running"', 0, 0) Sleep(3000) MouseMove(277, 173) MouseClick("Left") Sleep(2000) MouseMove(277, 193) MouseClick("Left") Sleep(3500) WEnd ToolTip("") EndFunc ;==>TogglePause Func Terminate() Exit 0 EndFunc ;==>Terminate 8) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now