Get the complete table of variables from the project information.

ac_request("autotext", "get_as_table", int iTable, int type);


Here:

iTable - table descriptor for filling with data from the project;

output table column format:

"text" (string) - variable names;

"key" (string) - internal variable identifiers;

"value" (string) - values.

type - bit flag for filtering types of variables from the project - 1-fixed (fixed)/2-own(custom)/4 - other (other).

Can be summarized, for example 1+2 means to choose fixed and own variables (see example).


Example.

Select all variables from the project information in the iTable.


int iTable;
object("create", "ts_table", iTable, "Autotext variables list");
inttype=1+2;
ac_request("autotext", "get_as_table", iTable, type);