Requires: IP-Symcon >= 4.0
boolean IPS_SetDisabled (integer $ObjectID, boolean $Disabled)
ObjectID | The ID of the object |
Disabled | TRUE if the object should be disabled; FALSE if it should be enabled |
If the command succeeds, it returns TRUE, otherwise FALSE. |
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.
IPS_SetDisabled(47381, true); // The object becomes disabled