AutomationNinja 194 Posted November 22, 2012 Report Share Posted November 22, 2012 Can I take the data out of a file and turn them into variables. Example: lets say the it is a csv file with the following: grapes,oranges,apples can I extract those and turn them into 3 different variables such as : #grapes #oranges #apples ? Ya know what I mean? 2 Quote Link to post Share on other sites
Legend 181 Posted November 22, 2012 Report Share Posted November 22, 2012 Not that I'm aware of, but I believe its been discussed before and Kreatus may have found a way to do it... Quote Link to post Share on other sites
a2mateit 395 Posted November 22, 2012 Report Share Posted November 22, 2012 Depends on what you are trying to do. Elaborate... Trying to re-use data that you have already saved? Can be done with set, and the table cell and row commands... Quote Link to post Share on other sites
VaultBoss 310 Posted November 22, 2012 Report Share Posted November 22, 2012 You want to have variables created dynamically. I want that too, for various reasons...(more or less obvious to UBot Studio dev team who seems to have dismissed the idea) It is is not currently possible... unfortunately! Quote Link to post Share on other sites
pftg4 102 Posted November 22, 2012 Report Share Posted November 22, 2012 Can I take the data out of a file and turn them into variables. Example: lets say the it is a csv file with the following: grapes,oranges,apples can I extract those and turn them into 3 different variables such as : #grapes #oranges #apples ? Ya know what I mean? not sure why you would want to do this you can just call the table cell for the data did i miss something????? Pftg4 Quote Link to post Share on other sites
AutomationNinja 194 Posted November 22, 2012 Author Report Share Posted November 22, 2012 Yeah I am probably making this more difficult than it needs to be. Also not sure if I can use a .ods file (open office spreadsheet file) or if I should just use a .txt file with a deliminator separating the data. All I want to do is have the user of the bot to be able to choose a file. Then pull the data from the file to use for account creation - first name, last name, user name, password ect... So if I can just call the table cell for the data then that would work. So how do I pull data out of a specific table cell? I can't simply loop through the data because each site uses different info in a different order. Quote Link to post Share on other sites
pftg4 102 Posted November 22, 2012 Report Share Posted November 22, 2012 use table cell command type that into search and it will come up pftg4 1 Quote Link to post Share on other sites
AutomationNinja 194 Posted November 22, 2012 Author Report Share Posted November 22, 2012 I think I might have it using the set command - then choose variable Something like this maybe set(#hotmail, $table cell(&accountinfo, 0, 0), "Global") Not sure. Going to test it out. Quote Link to post Share on other sites
AutomationNinja 194 Posted November 22, 2012 Author Report Share Posted November 22, 2012 I can't find a "table cell" command. Quote Link to post Share on other sites
pftg4 102 Posted November 22, 2012 Report Share Posted November 22, 2012 sorry it a function not a command green color type tab in search it's the first hit pftg4 opps sorry you found it lol Quote Link to post Share on other sites
AutomationNinja 194 Posted November 23, 2012 Author Report Share Posted November 23, 2012 Ha ha ha. It only took me two days but I figured it out. add list to list(%accounts, $list from file(#accounts), "Delete", "Global")add list to table as row(&accounts, 0, 0, %accounts)set(#username, $table cell(&accounts, 0, 0), "Global")alert(#username) Quote Link to post Share on other sites
Legend 181 Posted November 23, 2012 Report Share Posted November 23, 2012 cool! Quote Link to post Share on other sites
AutomationNinja 194 Posted November 24, 2012 Author Report Share Posted November 24, 2012 Dude you are in Japan. Now thats cool! Quote Link to post Share on other sites
Legend 181 Posted November 24, 2012 Report Share Posted November 24, 2012 I am... and it is... 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.