Jump to content



dmbfan

Member Since 08 Dec 2010
Offline Last Active Apr 10 2020 12:54 PM
-----

#129966 Posting To Reddit - Can't Click

Posted by dmbfan on 12 July 2017 - 02:32 PM

This worked for me:

 

clear cookies
set user agent("iPhone")
navigate("https://www.reddit.com/login","Wait")
wait for element(<username field>,"","Appear")
type text(<username field>,$list item(%LoginNames,#LoopCounter),"Standard")
wait for element(<password field>,"","Appear")
type text(<password field>,$list item(%LoginPW,#LoopCounter),"Standard")
wait for element(<class="SquareButton__content">,"","Appear")
click(<class="SquareButton__content">,"Left Click","No")




#127805 What Bots Have You Made To Help Your Productivity?

Posted by dmbfan on 17 March 2017 - 03:42 PM

Created a bot that pulls stories off our JIRA software development boards and creates planning poker games for them in a matter of seconds.  Manually, it took forever!




#121602 Random Username Feature?

Posted by dmbfan on 25 May 2016 - 01:42 PM

I typically just do this:

 

set(#Random username,$account data("Username"),"Global")

 

I don't know if they ever repeat or the frequency at which they might.




#102419 [SELL] ► SuperHAC v5.1 - Sockets, PVA, Forwarding! (Super Hotmail Account...

Posted by dmbfan on 06 October 2014 - 10:40 AM

Just picked this up and ran it once and I already feel like I got my money's worth.  Nice job on this software and I agree with the comments of others that this could sell for more and would still be a steal!

 

Thanks!




#101500 Trying to match facebook ID

Posted by dmbfan on 11 September 2014 - 08:39 PM

Probably not the most elegant way, but this works:

 

set(#facebook id"a href=\"https://www.facebook...f=grp_mmbr_list\"""Global")
set(#facebook id$replace(#facebook id"a href=\"https://www.facebook.com/"$nothing), "Global")
set(#facebook id$replace regular expression(#facebook id"\\?.*"$nothing), "Global")




#91163 Run Software on iPhone Part 2

Posted by dmbfan on 27 January 2014 - 08:59 PM

So close I can taste it. I didn't bother waiting around to see if I could start the bot with an IF command in the batch file. But I'm able to save a new text file after I run the MySQL query. I'm pretty much there, my ONLY issue is that after it runs the query, if there is no information in the query then it will still save a blank text file. I'm using the text file as my IF statement. If present do this, if not do that. So I have to figure out how to only save the text file if there's info in the DB and then it's ready.

Another option might be to let the text file save and then evaluate the file to determine its size.  If the file size>0 then proceed.  The get file info function allows you to evaluate the file size and I think it is available in this free plugin:

 

http://www.ubotstudi...-and-functions/




#84207 [Solved]Finding Duplicates within a list and saving them to another list

Posted by dmbfan on 19 September 2013 - 06:01 PM

Take a look at TJ's video about filtering lists, this my help you https://www.botguru....ubot-studio-v4/

Thanks, I think this is the approach that I need to take!  The common list item approach above returns a list of just the unique common items without duplicates of those values.  Thanks again.  I may get to sleep tonight afterall!




#75087 Question about a basic emailer

Posted by dmbfan on 05 April 2013 - 05:27 AM

Good point, I pulled this out of a bot that was actually trying to accomplish something else.

 

The better code would be:

 

set list position(%List of email addresses here, 0)
connect to mail server("SMTP With SSL""youremailusername@gmail.com""password""smtp.gmail.com", 587) {
    loop($list total(%List of email addresses here)) {
        send email($next list item(%List of email addresses here), "subject""Plain Text""Your Message here""""""")
    }
    wait($rand(60, 120))
}




#75074 Question about a basic emailer

Posted by dmbfan on 04 April 2013 - 08:43 PM

This might be close to what you are looking for:

 

set list position(%List of email addresses here, 0)
loop($list total(%List of email addresses here)) {
    connect to mail server("SMTP With SSL""youremailusername@gmail.com""password""smtp.gmail.com", 587) {
        send email($next list item(%List of email addresses here), "subject""Plain Text""Your Message here""""""")
        wait($rand(60, 120))
    }
}