vinoth Posted November 8, 2012 Share Posted November 8, 2012 Hi All,Im running a autoit script using firefox and have included FF.au3 functions.In my script there is a For Loop and im running it for 300 timesFor $i=1 To 300NextIf its execute 300 times, i'll get the message in my webpage as "Your target was completed."Is there any other method or function to execute the loop untill i get the message as "Your target was completed." ??Mine is working fine but i need some better coding ?? Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 8, 2012 Moderators Share Posted November 8, 2012 (edited) Is this message received in a pop up of some sort? If so, you could just use a Do..Until loop until that window is activated. Something like the example below may get you started. $x = 1 Do $x += 1 Until WinActive("[CLASS:Notepad]") MsgBox(0, "", $x) Edited November 8, 2012 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
vinoth Posted November 8, 2012 Author Share Posted November 8, 2012 Thaks for your suggestion Logan. No its not received in a pop up. It will display in a webpage like (after we send mail we will get display as "mail sent successfully" in same page) its some sort of like that. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted November 8, 2012 Moderators Share Posted November 8, 2012 How about a screenshot of the message? A lot easier to troubleshoot if we can see what you're seeing "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
vinoth Posted November 8, 2012 Author Share Posted November 8, 2012 actually how to attach the screenshot. i'm not finding any option to attach. Link to comment Share on other sites More sharing options...
vinoth Posted November 8, 2012 Author Share Posted November 8, 2012 Hi Logan, Plz find a screenshot of the message Link to comment Share on other sites More sharing options...
trancexx Posted November 8, 2012 Share Posted November 8, 2012 You need to add the attachment to the post for it to be visible. ♡♡♡ . eMyvnE 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