Sign in to follow this  
Followers 0
Anora

Unknown Function Name

4 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 .. :P

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Line 4, you're setting a hotkey to a nonexistant function.


Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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
Sign in to follow this  
Followers 0