Jump to content
UBot Underground

If..Then...


Recommended Posts

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!

Link to post
Share on other sites

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

Link to post
Share on other sites

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.post-526-12852466097153_thumb.jpg

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...