Monovski 4 Posted January 5, 2015 Report Share Posted January 5, 2015 Hi,I need help again: How do I posting article based on urls from listI have blog list in .txt file (e.g 10 wordpress blogs/all same platform) I want to create post to every blog in the listStep:open file (.txt file blog already with username and password for login) posting article to every blogs in the listI already read http://wiki.ubotstudio.com/wiki/Navigate and try the following code: clear list(%myurls)add list to list(%myurls, $list from text("www.ubotstudio.com/blog,www.ubotstudio.com,www.twitter.com/ubotstudio,https://www.facebook.com/LikeUBot", ","), "Delete", "Global")set list position(%myurls, 0)loop($list total(%myurls)) { navigate($next list item(%myurls), "Wait") wait(3)}That script is almost script that I want to create but I need to customize become exactly same like I needthanks Quote Link to post Share on other sites
zenos 13 Posted January 5, 2015 Report Share Posted January 5, 2015 You need to use "$list from file" not $list from text" if you want to use your txt file.clear list(%myurls)add list to list(%myurls, $list from file("C:\\Users\\username\\Documents\\urls.txt"), "Delete", "Global")set list position(%myurls, 0)loop($list total(%myurls)) { navigate($next list item(%myurls), "Wait") wait for browser event("Everything Loaded", "")}after the "wait for browser event("Everything Loaded", "")" you need to put your code to login to your site, you have lo togin.... and to post... If you don't know how to do it, just watch the tutorials videos of ubot http://www.ubotstudio.com/tutorials Quote Link to post Share on other sites
Monovski 4 Posted January 5, 2015 Author Report Share Posted January 5, 2015 Hi Zenos, Thanks so much for your help, I already try, this is script like I need, now everything is ok.. This is script I made: clear list(%myurls)add list to list(%myurls,$list from file("C:\\Users\\User\\xxx\\xxx\\xxx\\list x.txt"),"Delete","Global")set list position(%myurls,0)loop($list total(%myurls)) { navigate($next list item(%myurls),"Wait") wait for browser event("Everything Loaded","") type text(<username field>,"admin","Standard") wait(3) type text(<password field>,"xxx","Standard") click(<login button>,"Left Click","No") wait for browser event("Everything Loaded","") wait(5) click($element offset(<login link>,0),"Left Click","No") wait(5)} I work perfectly anyway I still have one more aks : e.g I have 2 or more urls in the list but: all urls has different username and password every urls are different paltform/type/CMSWhat should I do? Thanks Zenos Quote Link to post Share on other sites
zenos 13 Posted January 5, 2015 Report Share Posted January 5, 2015 (edited) Something like this, use table, not lists. Your txt file like this : www.overblog.com;login1;pass1www.wordpress.com;login2;pass2www.wordpress.com;login3;pass3www.tumblr.com;login4;pass4 clear table(&tableurllogin)create table from file("C:\\Users\\ze\\Desktop\\fichiers TXT\\urlstest.txt", &tableurllogin)loop($table total rows(&tableurllogin)) { set(#url, $table cell(&tableurllogin, 0, 0), "Global") if($contains(#url, "overblog")) { then { navigate(#url, "Wait") comment("code for overblog, login, pass, click, post...") type text(<username field>, $table cell(&tableurllogin, 0, 1), "Standard") type text(<password field>, $table cell(&tableurllogin, 0, 2), "Standard") } else if($contains(#url, "wordpress")) { then { navigate(#url, "Wait") comment("code for wordpress, login, pass, click, post...") type text(<username field>, $table cell(&tableurllogin, 0, 1), "Standard") type text(<password field>, $table cell(&tableurllogin, 0, 2), "Standard") } } else if($contains(#url, "tumblr")) { then { navigate(#url, "Wait") comment("code for tumblr, login, pass, click, post...") type text(<username field>, $table cell(&tableurllogin, 0, 1), "Standard") type text(<password field>, $table cell(&tableurllogin, 0, 2), "Standard") } } else { alert("cms not find") } } plugin command("TableCommands.dll", "delete from table", &tableurllogin, "Row", 0)} Edited January 5, 2015 by zenos Quote Link to post Share on other sites
Monovski 4 Posted January 5, 2015 Author Report Share Posted January 5, 2015 woow thanks so much Zeno I will try it you so kind please inform me if you visit Indonesia Thanks Quote Link to post Share on other sites
zenos 13 Posted January 5, 2015 Report Share Posted January 5, 2015 woow thanks so much Zeno I will try it you so kind please inform me if you visit Indonesia ThanksMaybe one day, why not Quote Link to post Share on other sites
Monovski 4 Posted January 8, 2015 Author Report Share Posted January 8, 2015 Hi Zenos, I need your help again when crating script to login in inube.com How do I can login in inube.com using ubot, login button not working in any attributes and in recording mode. thanks for help Zeno Quote Link to post Share on other sites
zenos 13 Posted January 8, 2015 Report Share Posted January 8, 2015 click(<value="Join >>">, "Left Click", "No") Watch tutorials videos, you wont loose your time watching it http://www.ubotstudio.com/tutorials Quote Link to post Share on other sites
Monovski 4 Posted January 8, 2015 Author Report Share Posted January 8, 2015 thanks Zenos 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.