Add List to Table As Row

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(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...")
 
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 ==

Revision as of 20:11, 24 April 2013

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")
add list to list(%one, $scrape attribute(<href=w"http://www.fruitsinfo.com/*.php">, "innertext"), "Delete", "Global")
add list to table as column(&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.

File:Add1.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox