02.05.2013 Views

User Guide - Mks.com

User Guide - Mks.com

User Guide - Mks.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4: Source Integrity Interfaces<br />

Environment<br />

Variables<br />

92<br />

4 Click OK to <strong>com</strong>plete the operation.<br />

The selection is filtered. Only files matching your expression<br />

arguments appear available in the selection list.<br />

Environment variables are accessed by external programs configured<br />

under the user toolbar buttons. When using these variables, the names<br />

must be in uppercase or Source Integrity will not recognize them. You can<br />

use the environment variables listed in this section.<br />

Window Type Opened Associated Environment Variable<br />

All The environment variable MKSSI_WINDOW is set in all cases.<br />

If there is no active window, or no window, then:<br />

MKSSI_WINDOW=none<br />

If there is an active window, then:<br />

MKSSI_WINDOW=[project|sandbox|projecthistory]<br />

Otherwise, the value is set to a window-specific value:<br />

MKSSI_WINDOW=archive<br />

If the active window is a different window, then:<br />

MKSSI_WINDOW=unknown<br />

For example, a Project Modifications window that does not produce any specific<br />

environment variables:<br />

MKSSI_WINDOW=unknown<br />

Note: For the values none and unknown, no other variables are set.<br />

All known window types set three variables for the server:<br />

MKSSI_HOST<br />

MKSSI_PORT<br />

MKSSI_USER<br />

Because Source Integrity supports multiple connections to the server, you should<br />

specify the following environment variables when running a <strong>com</strong>mand line<br />

operation from the toolbar:<br />

si --host=$MKSSI_HOST --port=$MKSSI_PORT<br />

--user=$MKSSI_USER<br />

u s e r g u i d e

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!