Generic Dialog Commands

The permanent windows in __prod_name are listed underneath the Window menu of the main window.  These commands control the positioning and visibility for those windows.  Normally these commands are only used by __prod_name when it is saving configuration files.

 -SetDialogPosition <Dialog Keyword> <X Coordinate>  <Y Coordinate>
This command allows you to position any of __prod_name's permanent dialogs.  

Example :   -SetDialogVisible  Events 75 80
Default:  There is no default value for this command.  This means that if this command is not used, the permanent dialogs could be placed anywhere on the screen.
Usage:  This command can be used at any time.
Arguments
Dialog Keyword
Specifies which of __prod_name's permanent dialogs you wish to modify:
  1. Audio :  Selects the Audio Output Dialog
  2. Events :  Selects the Event Display Dialog
  3. Properties:  Selects the Display and Acquisition Entity Properties Dialog
  4. Status:   Selects the System Status Dialog
  5. Main:  Selects the Main Window
  6. TTLResponse:  Selects the TTL Response Dialog
  7. Hardware: Selects the Hardware Properties Dialog (a hardware system must have already been defined for this keyword to work).
If the keyword specified does not match any of the listed keywords, this command will fail.
X Coordinate
The position, in pixels, to place the left side of the specified dialog.  This value is relative to your desktop, and must be within the bounds of your desktop.  If a value is outside the bounds of your desktop, it will be adjusted to that the dialog is placed as close to your value as possible, while remaining completely visible.

Example:  You have your screen resolution set to 1600 x 1200, and the following command is processed by __prod_name:
-SetDialogPosition Audio 1600 100
Since putting the Audio dialog with its left point at 1600 and top at 100 will place the dialog outside of your desktop, __prod_name will move the dialog left until it is completely visible.  The top position will not be changed since it is within the bounds of the desktop.
Y Coordinate
The position, in pixels, to place the top of the specified dialog.  This value is relative to your desktop, and must be within the bounds of your desktop.  If a value is specified that is outside the bounds of your desktop, it will be adjusted to that the specified dialog is placed as close to your value as possible, while remaining completely visible.


 -SetDialogVisible <Dialog Keyword> <Visible>
This command allows you to either show or hide any of __prod_name's permanent dialogs.

Example :   -SetDialogVisible  Events True
Default: The System Status Dialog is shown when __prod_name starts.  All other dialogs are hidden.
Usage:  This command can be used at any time.
Arguments
Dialog Keyword
Specifies which of __prod_name's permanent dialogs you wish to modify:
  1. Audio :  Selects the Audio Output Dialog
  2. Events :  Selects the Event Display Dialog
  3. Properties:  Selects the Display and Acquisition Entity Properties Dialog
  4. Status:   Selects the System Status Dialog
  5. Main:  Selects the Main Window
  6. TTLResponse:  Selects the TTL Response Dialog
  7. Hardware: Selects the Hardware Properties Dialog (a hardware system must have already been defined for this keyword to work).
If the keyword specified does not match any of the listed keywords, this command will fail.
Visible
Visible can be one of the following values:
  1. True:  The window will be visible.
  2. False:  The window will be hidden