SYS_ACT_CLIENT_TEXT

Use the SYS_ACT_CLIENT_TEXT script function to return the title of the current client. The current client is the client in which the task that calls the script is running. The title is defined in the General page of the Client object. If no title has been defined for the Client, the script function returns an empty value. For more information, see Clients.

Syntax

SYS_ACT_CLIENT_TEXT ()

Example

The task that contains the following script runs on a Client with the title Productive Environment. The script stores the title in a script variable, and prints the phrase Current client: Productive Environment in the activation report of the task.

:SET &TXT# = SYS_ACT_CLIENT_TEXT() 
:
PRINT "Current client: &TXT#"

See also:

seealso

Script Elements for System Conditions and Settings