daveconor 1 Posted October 28, 2013 Report Share Posted October 28, 2013 Here is what Im trying to do: add list to list(%GET THE NAME FROM A VARIABLE, $plugin function("TableCommands.dll", "$list from table", &data, "Column", #column number), "Don\'t Delete", "Global") Why: I want to create 10 lists from 1 CSV file but there are certain commands I use on all columns:Add list to listset lists positionclear listthe set variable to the first list item If I could choose the name of the list from a variable that would be set from another list I could then just loop everything Im open to ideas, thanks Quote Link to post Share on other sites
pftg4 102 Posted October 29, 2013 Report Share Posted October 29, 2013 you can create list from variable use list from text then insert variable as the text pftg4 Quote Link to post Share on other sites
LazyBotter 188 Posted October 29, 2013 Report Share Posted October 29, 2013 you can create list from variable use list from text then insert variable as the text pftg4 I dont think you understood the question he is asking, he is trying to dynamically create lists/tables. This is not possible, but would be a great addition, been able to condense the code a lot would be possible with this. Carl Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 29, 2013 Report Share Posted October 29, 2013 Here you go I think this is what you mean. clear table(&test table)create table from file("H:\\TC files\\Documents\\Ubot projects\\LAID\\Data\\To do\\test table.csv", &test table)clear list(%var list)add list to list(%var list, $list from text("ABCD", $new line), "Delete", "Global")loop(4) { set(#variable, $next list item(%var list), "Global") set(#column number, $plugin function("TableCommands.dll", "$table search", &test table, #variable, "Column Index"), "Global") wait(2)}ui stat monitor("Search item\"", #variable)ui stat monitor("Column index", #column number) If not there's a plugin for Dynamic variables around. TC Quote Link to post Share on other sites
pftg4 102 Posted October 29, 2013 Report Share Posted October 29, 2013 If not there's a plugin for Dynamic variables around. yep there is that be mine but not a plugin just code pftg4 Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted October 29, 2013 Report Share Posted October 29, 2013 yep there is that be mine but not a plugin just code pftg4I was referring to this...is this yours? if so it's on my to get list. http://www.ubotstudio.com/forum/index.php?/topic/13310-sell-dynamic-variables-by-dave-botgurunet/ TC Quote Link to post Share on other sites
pftg4 102 Posted October 29, 2013 Report Share Posted October 29, 2013 yep that's it pftg4 Quote Link to post Share on other sites
daveconor 1 Posted October 29, 2013 Author Report Share Posted October 29, 2013 I believe this code would create a dynamic table but what I am trying to do is determine the actual name of the list dynamically, not its content. Im getting the feeling its not possible though. 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.