wouldjaball 5 Posted May 20, 2013 Report Share Posted May 20, 2013 Hi all,I'm trying to create a script for youtube that rotates thru different youtube accounts.From a UITextbox, I'm trying to create a table, and I'm not sure if I'm going about it the right way. The table keeps putting all of the variable in one row, instead of different rows. Here's the code, any pointers for this noobie would be much appreciated. ui block text("Gmail Accounts", #UIGmail)ui block text("Gmail Passwords", #UIPasswords)clear list(%UIGMails)add item to list(%UIGMails, $list from text(#UIGmail, $new line), "Delete", "Global")clear list(%UIPasswords)add list to list(%UIGMails, $list from text(#UIGmail, $new line), "Delete", "Global")add list to list(%UIPasswords, $list from text(#UIPasswords, $new line), "Delete", "Global")clear table(&YTGMailPass)add list to table as column(&YTGMailPass, 0, 0, %UIGMails)add list to table as column(&YTGMailPass, 0, 1, %UIPasswords)save to file("{$special folder("Desktop")}/youtubelogin.csv", &YTGMailPass)set(#GmailLoops, 0, "Global")set(#OfGmailAccounts, $table total rows(&YTGMailPass), "Global")loop($table total rows(&YTGMailPass)) { navigate("https://accounts.google.com/ServiceLogin?hl=en_US&continue=http%3A%2F%2Fwww.youtube.com%2Fsignin%3Faction_handle_signin%3Dtrue%26feature%3Dsign_in_button%26hl%3Den_US%26next%3D%252F%26nomobiletemp%3D1&passive=true&service=youtube&uilel=3", "Wait") set(#Gmail Account, $table cell(&YTGMailPass, #GmailLoops, 0), "Global") set(#GmailPW, $table cell(&YTGMailPass, #GmailLoops, 1), "Global") type text(<email field>, #Gmail Account, "Standard") type text(<password field>, #GmailPW, "Standard") wait(3) increment(#GmailLoops)} Quote Link to post Share on other sites
nuc63 27 Posted May 20, 2013 Report Share Posted May 20, 2013 Instead of trying to create table in ubot.Open notepad and save file User,passUser,pass etc Open file Quote Link to post Share on other sites
VaultBoss 310 Posted May 20, 2013 Report Share Posted May 20, 2013 .....add item to list(%UIGMails, $list from text(#UIGmail, $new line), "Delete", "Global")..... Get rid of that line of code 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.