Add List to Table As Column

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "Add List to Table As Column is a Data Command. This command inserts a list into a table at a specified location as a column. == Example == <pre> navigate...")
 
Line 2: Line 2:
  
 
This command inserts a list into a table at a specified location as a column.
 
This command inserts a list into a table at a specified location as a column.
 +
 +
'''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:02, 24 April 2013

Add List to Table As Column is a Data Command.

This command inserts a list into a table at a specified location as a column.

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 column in the table &test1. The table will be populated starting from column 0 row 0.

File:Add.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox