$list from table
From UBot Studio
(Difference between revisions)
(Created page with "$list from table is a Data Function. This function will return the contents of a specified row or column as list items. The function is used along with the...") |
(→Example) |
||
Line 32: | Line 32: | ||
Running this script will populate the list with the contents in Column 0. | Running this script will populate the list with the contents in Column 0. | ||
+ | |||
[[File:listfromtable0.jpg]] | [[File:listfromtable0.jpg]] |
Revision as of 16:36, 11 April 2013
$list from table is a Data Function.
This function will return the contents of a specified row or column as list items. The function is used along with the add list to list command to create a list with the contents of a table.
Example
navigate("http://w3schools.com/html/html_colornames.asp", "Wait") wait(3) scrape table(<innertext="Color Name">, &MyTable) add list to list(%my list, $plugin function("TableCommands.dll", "$list from table", &MyTable, "Row", 0), "Delete", "Global")
Running this script will populate the list with the contents in Row 0.
navigate("http://w3schools.com/html/html_colornames.asp", "Wait") wait(3) scrape table(<innertext="Color Name">, &MyTable) add list to list(%my list, $plugin function("TableCommands.dll", "$list from table", &MyTable, "Column", 0), "Delete", "Global")
Running this script will populate the list with the contents in Column 0.