Knowledgebase: UBot 4
UBot Studio 4.0: Tables
Posted by Miriam M-B on 03 December 2011 01:30 PM

Tables are excellent for those who want to organize information in a way that is cleaner and more specific.

 There are various symbols that symbolize each function in UBot. The symbol for a table is the ampersand (&). There are two commands under the Data Commands in the toolbox that deal with tables in UBot Studio:

 

list of table commands in the tool box

 

Set Table Cell: This command allows you to set the specific table cell that you would like to work with. If you would like to insert an item into a specific row and column within a table, then this is the command you would use. If a table does not exist while you are setting the cell, it will be created within UBot Studio.

 

Set table cell with set column and set row

 

Create Table from File: This command creates a table with a file on your computer (a .txt file for example).

 

the create table from file command with file path leading to csv

 

So for example, if I have a .txt file containing the following: 

 

file containing countries and their capitals

 

When we use this file to create a table, column zero ranges from Barbados to Cape Verde, while column 1 ranges from Bridgetown to Praia. There are rows ranging from 0 to 7, starting with Barbados, Bridgetown, and ending with Cape Verde, Praia. 

There are four functions that deal with tables in UBot Studio:

list of functions with table functions table cell, table total rows and table total columns



$Table Cell: This function returns the item in a specific row and column.

$Table Total Rows: The function returns the total number of rows within a table. This can be used with the loop command in automating the filling of fields with the contents of a table. 

$Table total columns: The function returns the total number of columns within a table. This can be used with the loop command in automating the filling of fields with the contents of a table.


Comments (0)
Help Desk Software by Kayako Resolve
ERROR: Domain does not match license key file domain (oldsupport.ubotstudio.com), allowed domains: support.ubotstudio.com, please change the product path to match the domain under Admin CP > Settings > General Settings
This Product will not work properly unless untill that value is changed.

For more information please contact the kayako support at https://my.kayako.com