AutomationNinja 194 Posted May 30, 2012 Report Share Posted May 30, 2012 I am using the if / then command to choose a url in a email, but I need to use a wildcard, and I am stuck. I am not quite sure what I suppose to be doing. so for example lets say the numbers after ref= are different for each email. http://yourwebsite.com/ref=1232 - How do I use a wildcard? Is it like this? http://yourwebsite.com/ref=* with the astrix on the end? Also which qualifier function would I use? $contains ? Tried a few ways but no success so far. I have attached a screen shot. Basically want ubot to find url and then click on url but then end changes in different emails. Quote Link to post Share on other sites
a2mateit 395 Posted May 30, 2012 Report Share Posted May 30, 2012 Can't really help you out much because your screen shot isn't attached, but basically you would use the click command and set your own wildcard using the asterick (*) command. Or you can have it click on everything after the http... Sorry to be so vague but I'm not really sure what your struggling with. Justin Quote Link to post Share on other sites
AutomationNinja 194 Posted May 30, 2012 Author Report Share Posted May 30, 2012 Thanks for the quick response. Yeah I tried the click command using the wildcard but no luck. Can't really help you out much because your screen shot isn't attached, but basically you would use the click command and set your own wildcard using the asterick (*) command. Or you can have it click on everything after the http... Sorry to be so vague but I'm not really sure what your struggling with. Justin Quote Link to post Share on other sites
a2mateit 395 Posted May 30, 2012 Report Share Posted May 30, 2012 What site... Sites? Are you trying to sign up for? Quote Link to post Share on other sites
AutomationNinja 194 Posted May 30, 2012 Author Report Share Posted May 30, 2012 Basically the bot opens the emails and then clicks on the link to claim the credits. The links in the emails all have a different code on the end so I need a wild card. I can't just have it click any http:// because it will go to the wrong place or unsubscribe. Hope that makes sense. If not let me know. I have tried $search page, $contains,$exists so far. Trying out some other ideas now. Great learning experience. Appreciate your help so far. So the first image is the email inbox, and the second is the part of the email I need to click on. After the userid= each email has a different number. Quote Link to post Share on other sites
AutomationNinja 194 Posted May 30, 2012 Author Report Share Posted May 30, 2012 Whaddya figure? Quote Link to post Share on other sites
JohnB 255 Posted May 30, 2012 Report Share Posted May 30, 2012 Why are you going to the emails? Why not connect to the server with the email commands, add them to a table and scrape from the table?(column 4) It's a whole lot easier and faster. John Quote Link to post Share on other sites
AutomationNinja 194 Posted May 30, 2012 Author Report Share Posted May 30, 2012 Thanks John. I am not sure how that works but I will check out that option. I did figure out what I was doing wrong. I didn't know how to add wildcards correctly. Found out how to do that at around 5:40. And it worked! Once again thanks for all your help. 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.