Insert into Table

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 21: Line 21:
  
 
Running the scripts will insert an empty row in the table.
 
Running the scripts will insert an empty row in the table.
 +
  
 
[[File:insert.png]]
 
[[File:insert.png]]

Revision as of 20:51, 20 May 2013

Insert into Table is a Data Command.

This inserts a blank row or column in front of a specified index (column or row number).

Table: refers to the table you would like to insert the column or row.

Insert: the drop down allows you to choose whether you want to insert a blank row or a blank column.

Index: refers to the position you want the row or column to be inserted. If an index of 1 is selected, and the insert is set to column, a blank column will be inserted for column 1.

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 row(&test1, 0, 0, %one)
plugin command("TableCommands.dll", "insert into table", &test1, "Row", 3)


Running the scripts will insert an empty row in the table.


File:Insert.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox