Sign in to follow this  
Followers 0
tang

Clicking help?

3 posts in this topic

I made a basic script for a clicker but it seems a bit wrong i want it to click on 1 place as much times as i want it could someone please point out my mistakes or correct them for me. thanx

MouseClick("left",130,234);left clicks at the coordinates x=123,y=234

While 1

mouseclick(5)

Wend

Global $Paused

HotKeySet("{PAUSE}", "TogglePause")

HotKeySet("{ESC}", "Terminate")

Share this post


Link to post
Share on other sites



I made a basic script for a clicker but it seems a bit wrong i want it to click on 1 place as much times as i want it could someone please point out my mistakes or correct them for me. thanx

MouseClick("left",130,234);left clicks at the coordinates x=123,y=234

While 1

mouseclick(5)

Wend

Global $Paused

HotKeySet("{PAUSE}", "TogglePause")

HotKeySet("{ESC}", "Terminate")

Try

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")

While 1
MouseClick("left", 130, 234, 5)
Wend

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

thanx alot BigDod it works its really gr8.

Try

Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")

While 1
MouseClick("left", 130, 234, 5)
Wend

Func TogglePause()
    $Paused = NOT $Paused
    While $Paused
        sleep(100)
        ToolTip('Script is "Paused"',0,0)
    WEnd
    ToolTip("")
EndFunc

Func Terminate()
    Exit 0
EndFunc
Now could someone advise me is it possible for a program to regognise an image like the one shown here http://www.kingsofchaos.com/recruit.php?uniqid=4gv77477 and also regognise the image.

Someone told me it is impossible, someone else told me its possible can someone tell me if it is possible or impossible am i just shooting in the dark for nothing.

Thanx, Tang

Edited by tang

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