Position and Size Macro Express Dialogs
During the playback of a macro, Macro Express may open a dialog box, such as a prompt, multiple choice, text box, etc. Many of these macro commands allow for sizing and/or positioning the dialog box on the screen.
This topic discusses the options to size or position dialog boxes, if the macro command supports the function.
The macro commands that allow for the positioning and sizing of dialog boxes contain edit boxes similar to these displayed below.
The Left edit box positions the dialog a specific number of pixels from the left edge of the screen. In this example the left side of the dialog box is positioned one pixel to the right of the left screen edge.
The Top edit box positions the dialog a specific number of pixels from the top edge of the screen. In this example the top side of the dialog box is positioned one pixel below the top screen edge.
Insert the pixel values for the Width of the dialog to be displayed. In the example above, the text box displays with a width of 500 pixels.
Insert the pixel values for the Height of the dialog to be displayed. In the example above, the text box displays with a height of 450 pixels.
This option applies to systems that utilize more than one monitor. If a system has a single monitor, then leave the monitor setting to zero (0). Zero represents the single monitor or the left monitor if there is more than one monitor. One (1) represents a second monitor or the monitor to the right of the left monitor. Similarly, two (2) represents the third monitor or two monitors to the right of the left monitor, and so on.
Always on Top
Always on Top keeps the text box visible on the screen (on top of other running applications) until the box is closed.
Keep Focus ensures that the text box is the window that has focus. This allows users to immediately input information into the dialog without first giving focus to the text box. Unchecked, this option leaves focus with the application that had focus before the dialog opened.
Set Size and Position
The Set Size and Position button is used to visually set and view the position of the dialog box. Or view and set the size of the dialog by dragging the edges.
Instead of using pixel coordinates, the window may appear in the center, corners or midpoints of the screen by using the Dialog Positioner. Pressing the Set Size and Position button activates the Dialog Positioner and Dialog Sizer windows.
Click on one of the arrows or the center button. This moves the Dialog Sizer window relative to the button selected. If the arrow button in the upper left corner is selected, the Dialog Sizer window moves to the upper left corner of the screen. Click Save and this is where the dialog displays during macro playback.
This window displays the text of the dialog box. It is also displayed in the same dimensions as it will appear during macro playback.
Drag the edges of this window to resize it to preferred dimensions. Click OK to save the size. The new size is displayed in the Width and Height edit boxes.