variant GetValue (integer $VariableID)
VariableID | ID of the variable |
Value of the specified variable in the type of the specified variable |
The command returns the content of the IP-Symcon variable with the ID VariableID. The returned variable type is the one that was selected when creating the variable (IPS_CreateVariable). If the variable was created as a string, the command returns a string.
$Window_open = GetValue(47788); // Boolean-Variable: true or false $current_project = GetValue(46250); // String-Variable: e.g. "Rain sensing"