Jump to content

need help mouse thingey.....


butji
 Share

Recommended Posts

okay heres what i got ^^

CODE
if MouseDown("left") Then

Do

MouseClick( "left")

sleep(1000)

Until MouseUp("left")

EndIf

what i want it to do:

i want it to press left mouse key thingey every 1 second when i hold down left mouse key

Link to comment
Share on other sites

Can't do it with the same button as the trigger as what you want it to spam, try this, works with right click instead of left click.

#include <Misc.au3>

While 1
    If _IsPressed(02) Then
        While _IsPressed(02)
            Mouseclick("left")
            ToolTip("Spamming",0,0)
        WEnd
    EndIf
    ToolTip("",0,0)
WEnd
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...