Documentation
IPS_GetName
string IPS_GetName (int $ObjectID)
Parameters
ObjectID | ID for which the name should be returned |
Returns
Name of the object in the logical object tree
Description
The function returns the name of an object.
Since version 4.0: If the object is an event and has no name (Unnamed object), the descriptive name is returned
Example
echo IPS_GetName(47359);
// Returns e.g.: "My Table Lamp"
// Special case for unnamed events (since version 4.0)
echo IPS_GetName(48864 /*[TestScript\Unknown Object (ID: 48864)]*/);
// Returns e.g.: "When changing the variable, the variable "Test Folder\IRTrans USB/LAN/WLAN\Remote Control"