Examples

%deskpic%

You can use the %deskpic% variable to display a custom desktop picture for a specific (group of) user(s). The variable contains the file name of the picture to be displayed on the desktop, which must exist as desktop image resources. When Workspace Control is started, this variable applies to each user that is member of the Non-management group, and places the Non_mgmnt_back.bmp picture on his desktop.

%PwrGateKeepAlive%

In Windows, when an application such as Outlook needs to open an attachment such as a Word file, the application places the attachment in a temporary location and then starts the associated process (in this case winword.exe). The application then checks whether the process is still running. When it is no longer running, the application removes the attachment file from the temporary location again.

This does not work if an attachment is opened from an application that is managed by Workspace Control because then pwrgate.exe is always started instead of winword.exe, etc. Pwrgate.exe checks the File Types, calls the relevant application (such as Word), and then stops. As soon as pwrgate.exe stops - which is before Word has started - the mail client removes the attachment from the temporary location. As a result, the attachment can no longer be found when Word is actually started through Workspace Control.

To prevent this, set an environment variable %pwrgatekeepalive% with the value "yes" when the application that needs to open attachments (such as Word) is started. This will ensure that the pwrgate.exe process does not stop until Word stops - and so the Word file will not be removed from its temporary location too soon.