net2dio 0 Posted August 30, 2010 Hello ... expandcollapse popup Send("Nanme") Send("eMail") [\code] how to make this code to repeated 1000 times??? thank you Share this post Link to post Share on other sites JohnOne 1,603 JohnOne 1,603 Number #1 Active Members 1,603 17,357 posts Posted August 30, 2010 Global $ImALouseyStinkingSpamRat = 1 While $ImALouseyStinkingSpamRat Send("Nanme") Send("eMail") $ImALouseyStinkingSpamRat += 1 If $ImALouseyStinkingSpamRat = 1000 Then $ImALouseyStinkingSpamRat = False WEnd AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
Tvern 11 Posted August 30, 2010 Wouldn't that run 999 times? Share this post Link to post Share on other sites
net2dio 0 Posted August 30, 2010 Thank you, thank you, thank you Share this post Link to post Share on other sites
net2dio 0 Posted August 30, 2010 (edited) Wouldn't that run 999 times? you're right, I saw this, but can make If $ImALouseyStinkingSpamRat = 1001 Edited August 30, 2010 by LeuMas Share this post Link to post Share on other sites
JohnOne 1,603 Posted August 30, 2010 lol happy to help AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
trancexx 1,013 Posted August 30, 2010 This should be For/Next, not While/Wend. It's like 1+3-4+7-8+3 = 1+1 with For/Next on the right side. ♡♡♡ . eMyvnE Share this post Link to post Share on other sites
Tvern 11 Posted August 30, 2010 Given his JohnOne's experience and the variable naming, I think it was a conscious choice. Share this post Link to post Share on other sites
trancexx 1,013 Posted August 30, 2010 Yes, it was a good joke. ♡♡♡ . eMyvnE Share this post Link to post Share on other sites