Insert into Table

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

Revision as of 22:12, 23 September 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 above the populated row.


Insert.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox