Add List to Table As Row
From UBot Studio
(Difference between revisions)
(Created page with "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. == Example == <pre> navigate("http...") |
(→Example) |
||
(6 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
This command inserts a list into a table at a specified location as a row. | 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 == | == Example == | ||
Line 7: | Line 16: | ||
<pre> | <pre> | ||
navigate("http://www.fruitsinfo.com/tropical-fruits.php", "Wait") | 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 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> | ||
Line 16: | Line 26: | ||
The table will be populated starting from column 0 row 0. | The table will be populated starting from column 0 row 0. | ||
− | [[File: | + | |
+ | [[File:addtlar.jpg]] |
Latest revision as of 17:01, 22 October 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.
[edit] 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.