Jump to content
UBot Underground

Problem with tables


Recommended Posts

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)
}
 

 

Link to post
Share on other sites

.....

add item to list(%UIGMails, $list from text(#UIGmail, $new line), "Delete", "Global")

.....

 

Get rid of that line of code

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...