$table cell

From UBot Playground
Jump to: navigation, search

$table cell is a Data Function.

This function will return the table item at the specified position. The function is used along with the create table from file command or the set table cell command. It is used to return items from a table at a specified table cell.

Table: The table with the desired contents.

Row: The specific row where the desired item is located.

Column: The specific column where the desired item is located.

Example[edit]

navigate("http://www.ubotstudio.com/playground/simple-form", "Wait")
create table from file("C:\\Users\\Documents\\my table.txt", &my table)
type text(<about me textarea>, $table cell(&my table, 0, 0), "Standard")


Running this script creates a table from the table file specified in the create table from file command.

The type text command set to the $table cell function will place the value of the specified table cell into the field.


Tcell.png

Additional Information[edit]

To browse for your table file, simply click the browse button on the create table from file command.