Jump to content

Very simple script


Recommended Posts

Hello all!

I'm new here, I want to know if my script is right:

LeftClick, 518, 480

Sleep, 1000

Repeat, <100>


I wanted to make my mouse click in the x,y position, wait a bit and repeat.

I just don't know why it doesn't works ._.


Link to comment
Share on other sites

Hi! Welcome to AutoIt!

Your script is using the AutoIt v2 syntax. You need AutoIt v3. Download AutoIt v3 from the AutoIt homepage and read that manual instead.


The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Link to comment
Share on other sites

so, could you tell me how to do that in v3?

it seems to be a very simple script.. but i have no idea of how to do it!

This would repeat the mouse click 100 times with a 1 second sleep between

For $i = 1 to 100
MouseClick ( "left" , 518, 480 )
Sleep (1000)
Link to comment
Share on other sites

And this would click the left mouse key twice, the interval can be adjusted between 1 and 100

MouseClick("left", 518, 480, 2, 50)

Experiment and use the help file, it is really very good.

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...