Documentation
IPS_SetDisabled
Require: IP-Symcon >= 4.0
boolean IPS_SetDisabled (int $ObjectID, boolean $Disabled)
Parameters
ObjectID | The ID of the object |
Disabled | TRUE if the object should be disabled; FALSE if it should be enabled |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
This functions sets the object with the ID ObjectID to disabled, i.e., it may be visible in the visualizations but it is not clickable or usable.
Example
IPS_SetDisabled(47381, true); // The object becomes disabled