Jump to content

Recommended Posts

 

I'm not really good in coding or anything but i just wanted to create a click loop with this:

But it doesnt work....

 

 

WinActivate("Anarchy")

Func Clicker()
MouseClick("left" 1051, 536, 1, 1)
Sleep(1000)
MouseClick("right" 1748, 755, 1, 1)
Sleep(1000)
MouseClick("left" 1747, 794, 1, 1)
sleep(1000)
MouseClick("left" 1051, 536, 1, 1)
sleep(1000)
MouseClick("left" 960, 586, 1, 1)
Sleep(1000)
MouseClick("right" 1748, 755, 1, 1)
Sleep(1000)
MouseClick("left" 1747, 794, 1, 1)
sleep(1000)
EndFunc
 

Link to post
Share on other sites
  • Developers

Hi Jordi,

In general: "Doesn't work" isn't much of an explanation of your problem as you haven't told us what you are expecting the script to do.
Sounds like you are trying to automate a game. Please have a look at our forum rules in relation to game automation topics.

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 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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...