Yaunny Posted February 14, 2010 Share Posted February 14, 2010 Okay, first, here's my code: MouseClick("left",1176,653,1,0) MouseClick("left",1118,653,1,0) MouseClick("left",1060,653,1,0) MouseClick("left",1002,653,1,0) MouseClick("left",944,653,1,0) MouseClick("left",886,653,1,0) MouseClick("left",828,653,1,0) MouseClick("left",770,653,1,0) MouseClick("left",712,653,1,0) MouseClick("left",654,653,1,0) MouseClick("left",596,653,1,0) MouseClick("left",538,653,1,0) MouseClick("left",480,653,1,0) Notice how the X coord decreases by 58 each time? What I need to know is if it's possible to achieve the same effect without opening up a calculator, decreasing 58 and then making a new MouseClick command. Is there maybe some sort of a function I can write that can make it decrease the X coord by 58 (or any number) for M ammount of times Link to comment Share on other sites More sharing options...
UEZ Posted February 14, 2010 Share Posted February 14, 2010 For $j = 1176 To 480 Step - 58 MouseClick("left",$j,653,1,0) Sleep(50) Next UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Yaunny Posted February 14, 2010 Author Share Posted February 14, 2010 Perfect. thanks. 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