Anora Posted November 22, 2007 Share Posted November 22, 2007 Global $Paused HotKeySet("{PAUSE}", "TogglePause") HotKeySet("{ESC}", "Terminate") HotKeySet("{HOME}", "Start") ;Home Key While MouseClick("right" 0, 586, 123) MouseClick("left" 0, 585, 162) MouseClick("right" 0, 667, 180) MouseClick("left" 0, 648, 237) MouseClick("left" 0, 831, 62) MouseClick("left" 0, 913, 254) MouseClick("left" 0, 956, 255) MouseClick("right" 0, 603, 440) MouseClick("left" 0, 587, 506) Sleep (2000) Send ("27") Send ("{ENTER}") MouseClick("right" 0, 586, 123) MouseClick("left" 0, 585, 162) MouseClick("right" 0, 956, 255) MouseClick("left" 0, 936, 329) WEnd Func TogglePause() $Paused = NOT $Paused While $Paused sleep(100) ToolTip('Script is "Paused"',0,0) WEnd ToolTip("") EndFunc Func Terminate() Exit 0 EndFunc Link to comment Share on other sites More sharing options...
Developers Jos Posted November 22, 2007 Developers Share Posted November 22, 2007 (edited) Its not very polite to "DUMP"a script without asking a questions assuming we will run it and sort out your unknown function problem.. Run au3check on your script and look at the list of errors it generates and fix them one at a time .. Edited November 22, 2007 by Jos 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 More sharing options...
alex OF DEATH Posted November 22, 2007 Share Posted November 22, 2007 Line 4, you're setting a hotkey to a nonexistant function. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 22, 2007 Moderators Share Posted November 22, 2007 Line 4, you're setting a hotkey to a nonexistant function.Teach a man to fish... Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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