5.12 SetGS

The SetGS command sets one or more variables in the current Global State to a specific value. Parameters are always entered in an arbitrary number of pairs, with the first parameter in the pair being the property to be set and the second the value to set the property to. For more information on available properties, see the Global State. This command may be used without connecting to a server. 

Note
  • SetGS will only affect the currently running process. To preserve the state, use the SaveGS command and then use LoadGS when NDICmd starts to restore the desired state.
  • Because the Global State contains nested objects, we support naming of target properties by hierarchical names (for example, "Login.Username" is used to set the "Username " property of the Login object inside the Global State file).
Usage

SetGS [Property1] [Value1] ... [PropertyN] [ValueN]

Example
ndicmd /i /gs SetGS Login.Username Testuser
Parameters
  • Property - The name of the property in the Global State to be set. Pairs with the following Value parameter.
  • Value - The value that the property in the Global State is assigned. Pairs with the preceding Property parameter. 

 


CONFIDENTIAL