Add List to Table As Row
From UBot Studio
(Difference between revisions)
(→Example) |
(→Example) |
||
Line 18: | Line 18: | ||
wait(3) | wait(3) | ||
add list to list(%one, $scrape attribute(<href=w"http://www.fruitsinfo.com/*.php">, "innertext"), "Delete", "Global") | add list to list(%one, $scrape attribute(<href=w"http://www.fruitsinfo.com/*.php">, "innertext"), "Delete", "Global") | ||
− | add list to table as | + | add list to table as row(&test1, 0, 0, %one) |
</pre> | </pre> |
Revision as of 18:28, 9 September 2014
Add List to Table As Row is a Data Command.
This command inserts a list into a table at a specified location as a row.
Table: The table the list is being added to
Starting Row: The starting row where the list will be added to
Starting Column: The starting column where the list will be added to
List to Add: The list that is going to be added to the table.
Example
navigate("http://www.fruitsinfo.com/tropical-fruits.php", "Wait") wait(3) add list to list(%one, $scrape attribute(<href=w"http://www.fruitsinfo.com/*.php">, "innertext"), "Delete", "Global") add list to table as row(&test1, 0, 0, %one)
The script above will populate list %one, and then use the list to create one row in the table &test1.
The table will be populated starting from column 0 row 0.