Ukassa 0 Posted January 8 Share Posted January 8 Hello, I want to try with new script with Autoit. Quote Func write() $x = 1040 - $i * 70 If $i < 12 Then MouseClick($MOUSE_CLICK_LEFT, 225, $x, 2) sleep(4000) MouseClick($MOUSE_CLICK_LEFT, 808, 486, 1) sleep(4000) ClipPut(FileRead($File)) Send ("^v") sleep(2000) ElseIf $i = 12 Then MouseWheel ("up", 4 ) sleep(5000) ElseIf $i > 13 Then reset funce write() sleep(5000) EndIf EndFunc Lets make example: 12 x a, 1 x b, 12 x a, 1 x b. How can I get it run 12 times with a script, then run 1 times with b script, then repeat again the loop in a Function ? Link to post Share on other sites
argumentum 911 Posted January 8 Share Posted January 8 Post a running script and tell us what is that the script does. Follow the link to see my signature's stuff.FAQ - Please Read Before Posting. Link to post Share on other sites
Ukassa 0 Posted January 8 Author Share Posted January 8 It’s just a dummy script I try to automate because I’m running a game script. Link to post Share on other sites
argumentum 911 Posted January 8 Share Posted January 8 ...game automation is against forum rules. Other than that, I hope you get to learn AutoIt. Is a very handy language. Again, no one here is going to help in circumventing any EULA. Follow the link to see my signature's stuff.FAQ - Please Read Before Posting. Link to post Share on other sites
Developers Jos 2,811 Posted January 8 Developers Share Posted January 8 Welcome to the AutoIt forum. Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked. See you soon with a legitimate question I hope. The Moderation team 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
Developers Jos 2,811 Posted January 8 Developers Share Posted January 8 Moved to the appropriate AutoIt General Help and Support forum, as the Developer General Discussion forum very clearly states: Quote General development and scripting discussions. Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums. Moderation Team 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
Recommended Posts