« Back to Product

Documentation

IPS_SetVariableProfileText

 boolean IPS_SetVariableProfileText (string $ProfileName, string $Prefix, string $Suffix) 

Parameters

ProfileName

Name of the profile. Available profiles can be queried via IPS_GetVariableProfileList

Prefix

Prefix of the value

Suffix

Suffix of the value

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

This function sets the prefix and suffix of the variable profile with the name ProfileName to Prefix and Suffix, respectively.

Warning

Standard profiles cannot be changed. These profiles names begin with a tilde (~).

Example

IPS_SetVariableProfileText("Switch", "", "%");
Any questions?