Isper Posted October 30, 2005 Share Posted October 30, 2005 (edited) Hey All I just got Auto it and i need some help with looping a macro. I just need something that will click serten spots on screen. i know how to get the X and Y axis, i just need to know how to make the macro loop, and what the command is to Left click. Edited October 30, 2005 by Isper Link to comment Share on other sites More sharing options...
peethebee Posted October 30, 2005 Share Posted October 30, 2005 Hey AllI just got Auto it and i need some help with looping a macro. I just need something that will click serten spots on screen. i know how to get the X and Y axis, i just need to know how to make the macro loop, and what the command is to Left click. Hi! This is very easy. Have a quick look on the following functions in the help file shipped with your installation: - MouseClick - For / Do / While peethebee vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Link to comment Share on other sites More sharing options...
Isper Posted October 30, 2005 Author Share Posted October 30, 2005 so th make the macroit work be - MouseClick X# Y# and at the end - For / Do / While ??? Link to comment Share on other sites More sharing options...
Sokko Posted October 30, 2005 Share Posted October 30, 2005 In the help file that comes with AutoIt, go to the Index tab and type in the name of the command you want to find out about (like MouseClick). Then double-click the highlighted term to display its topic. Also, to get an overview of those looping functions, go to AutoIt > Language Reference > Loop Statements in the table of contents. When looking at any help topic, there will be an example script at the bottom of the page, which is a big help if you don't quite understand something. Link to comment Share on other sites More sharing options...
lopolop Posted October 30, 2005 Share Posted October 30, 2005 (edited) i had trouble with getting the loop part for my first time even with thoese examples with autoit but what i usually do is to make it loop forever is While 1 ;code WEnd and for a left click just do Mouseclick("left", x, y) but allways check the help files they are life savers Edited October 30, 2005 by lopolop Link to comment Share on other sites More sharing options...
Isper Posted October 30, 2005 Author Share Posted October 30, 2005 ok im still not 100% sure, but so for the macro it would be Mouseclick("left", x, y) Mouseclick("left", x, y) While 1 ;code WEnd ???? ps, i used the help find, but i couldnt find anythign that helped me Link to comment Share on other sites More sharing options...
Shinies Posted October 30, 2005 Share Posted October 30, 2005 While 1 Moouseclick("left", x, y) WEnd That is the loop Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now