string GetValueString (integer $VariableID)
VariableID | ID of the variable |
Value of the specified variable: Text |
The command returns the content of the IP-Symcon variable with the ID VariableID. The selected variable must have the type String. If the variables type is not String, the command stops with an error. No conversion is done by this command. For a type-unsafe query you can use the command GetValue.
$current_project = GetValueString(47788);