Jump to content

Hi i need help with auto click 10x then drag/drop and repeat


Recommended Posts

Hi, i am super new so i have a few question...

What i want to do is have the scripts auto click 10x with 1 secs delay between click.. then after 10 clicks I want it to move to (my coords) and drag this item to (2nd coord) and have it click 10x and repeats and so on..

So, what i understand is:

MouseClick($MOUSE_CLICK_LEFT, 563, 218, 1)
Sleep(1000)

**how do i make it to repeat 10 without me copy and paste 10x?**


MouseClickDrag($MOUSE_CLICK_LEFT, 100, 200, 850, 488)

**after i drag and drop from above, I need to repeat that 10 clicks and so on... can anyone awesome help me please please please.. thank you in advance :)

Link to comment
Share on other sites

Hi, i am super new so i have a few question...

What i want to do is have the scripts auto click 10x with 1 secs delay between click.. then after 10 clicks I want it to move to (my coords) and drag this item to (2nd coord) and have it click 10x and repeats and so on..

So, what i understand is:

MouseClick($MOUSE_CLICK_LEFT, 563, 218, 1)
Sleep(1000)

**how do i make it to repeat 10 without me copy and paste 10x?**


MouseClickDrag($MOUSE_CLICK_LEFT, 100, 200, 850, 488)

**after i drag and drop from above, I need to repeat that 10 clicks and so on... can anyone awesome help me please please please.. thank you in advance :)

Link to comment
Share on other sites

  • Developers

Welcome, I've merged your duplicate threads.
Sounds like you are doing some game automation so would advice you to read our forum rules first before continuing in these forums.

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

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...