In an effort to create a more unified support experience, we have moved support of our Knowledgebase to Rockwell Automation Tech Support.

If you would like to speak with one of our engineers, please Submit a Question or give us a call at the phone number here. In North America, To route your phone support request directly to a technical support engineer, call toll free 1-888-382-1583 or 1-440-646-3434, select Option 3 (Technical Support), then select Option 5 (More Options). When prompted, enter the ThinManager Direct Dial Code 201.

Environment Variables in ThinManager

From ThinManager Knowledge Base
Jump to: navigation, search

Note: Windows per-user environment variables for initial applications are only valid in Windows Server 2003 and older operating systems.

Using Environment Variables in ThinManager

System environment variables can be used in the Application Link path name. For example, you can substitute %WINDIR% for the explicit path of the Windows folder (such as C:\Windows) (Windows environment variables) or #TERMINALNAME# for the terminal's name (such as HMI01) (ThinManager environment variables). Starting with Server 2008, you cannot use Microsoft Windows per-user environment variables.

ThinManager Environment Variables

The above Display Client, when running on a terminal named HMI01, will launch Notepad with the document stored at C:\docs\HMI01.txt

ThinManager Specific Environment Variables

ThinManager specific environment variables was introduced in the initial release of ThinManager 8.0.

Environment Variable Evaluates To Minimum ThinManager Version
#TERMINALNAME# Name of the terminal 8.0
#MODEL# Model of the terminal 8.0
#WINDOWUSERNAME# Windows username for Display Client 8.0
#TERMSECUREUSERNAME# TermSecure username for the logged in user 8.0
#DISPLAYCLIENTNAME# Display Client name 8.0
#LOCATIONNAME# Relevance Location name 8.0
#TERMINAL_IPADDRESS# IP Address of the terminal 11.1 SP1
#TERMINAL_MACADDRESS# MAC Address of the terminal 11.1 SP1

Custom Variables

Custom ThinManager environment variables were introduced in the initial release of ThinManager 8.1.

Users may now define their own custom variables for Terminals, TermSecure Users, and Relevance Locations. These environment variables can be used the same way as the above ThinManager specific environment variables and also may be accessed through the TermMon ActiveX Control. The value of the variable can either be shown or hidden.

ThinManager Custom Environment Variables

For example, using #VISIBLE# in a Display Client path will cause ThinManager to substitute "Value" into the path. C:/#VISIBLE#.txt will result in C:/Value.txt.