sarge 0 Posted September 23, 2010 Report Share Posted September 23, 2010 Anyone got any pointers on how to structure this... Doing a bot to add a post to Blogger. On the 'name your blog' page it asks for all the details and it all goes fine, unless the user gets the captcha wrong. How do you manage this? I'm looking at the 'If...Then' statement as the answer, but I'm just staring at it at the moment looking for inspiration! Quote Link to post Share on other sites
Pete 121 Posted September 23, 2010 Report Share Posted September 23, 2010 One way is "IF page scrap = error Then run sub decap" but this only gives one retry Or put it in a while loop but this will retry until it returns correct maybe also add a counter and use Both as the qualifier so you can breakout of the loop Quote Link to post Share on other sites
blazo 5 Posted September 23, 2010 Report Share Posted September 23, 2010 I use while statement click the image it will show you how.So what you do is search for the word that is showing after you get the captcha wrong with the while statement it will run the nod till the captcha is right. Quote Link to post Share on other sites
sarge 0 Posted September 26, 2010 Author Report Share Posted September 26, 2010 Fantastic, thanks guys! 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.