theninjamanz 29 Posted October 15, 2010 Report Share Posted October 15, 2010 The topic titles pretty much sums it up. What I am trying to do is tell ubot to run a wait finish command, but if it is still waiting for the page to finish after 5 seconds keep going. This would inside a loop, so the proces would repeat. Imagine cycling through a list of URLs and the checking to see if they conform to a certain criteria. This is what is ruining my mind at the moment. Quote Link to post Share on other sites
UBotBuddy 331 Posted October 15, 2010 Report Share Posted October 15, 2010 Why not just forget the WAIT entirely and just use Delay. WAIT FOR is good to use as well. Quote Link to post Share on other sites
Seth Turin 223 Posted October 15, 2010 Report Share Posted October 15, 2010 so you can set your timeout to 5, and after if you can put an if statement to determine whether or not the page is loaded. Quote Link to post Share on other sites
IRobot 43 Posted October 15, 2010 Report Share Posted October 15, 2010 What I am trying to do is tell ubot to run a wait finish command, but if it is still waiting for the page to finish after 5 seconds keep going. This would inside a loop, so the proces would repeat. Imagine cycling through a list of URLs and the checking to see if they conform to a certain criteria. set #criteria = false set #numberOfTrys = 3 set #counter = 0 while (#criteria = false and #counter < #numberOfTrys) wait finish (5) if (criteria met) then set #criteria = true inc #counter end while Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.