WiseScript Editor Reference
107
X-Position / Y-Position
Specify the exact location of the control on the dialog box. You can also use the
alignment commands to precisely arrange controls on the dialog box.
See
Aligning and Spacing Dialog Box Controls
on page 113.
Note
A dialog unit is based on the size of the dialog font, usually 8-point MS Sans
Serif. A horizontal dialog unit is 1/4 the average width of the font and a vertical
dialog unit is 1/8 the average height of the font.
Width / Height
Specify the exact dimensions of the control in dialog units. You can also resize
controls by dragging their handles, though this is not as precise.
Loop Continuously
Mark this to repeatedly start the animation from the beginning.
4. Click OK.
See also:
About Dialog Box Controls
on page 94
About Dialog Boxes
on page 92
Adding Push Button Controls
Push buttons are simply buttons (example: OK or Cancel). When clicked, they perform
an action, such as saving the dialog box data, closing the dialog box, or advancing to the
next dialog box. Each dialog box must have at least one button that allows the end user
to exit the dialog box.
1. Open the dialog box in the Custom Dialog Editor.
See
Editing Dialog Boxes
on page 93.
2. Select Add menu > Push Button.
The Push Button Control Settings dialog box appears.
3. Complete the dialog box:
Label
Enter the name of the push button. To create a keyboard shortcut for the
button, enter an ampersand (&) immediately before a letter. For example, “<
&Back” would display the label “< Back” and set the keyboard shortcut to
Alt+B.
Variable
Specify the name of the script variable that stores the return value of this dialog
box control.
Value
Enter the value that gets assigned to the variable if this button is clicked. This
can be useful in a script when more than one button can dismiss a dialog box
and you need to know which one the end user clicked.
Control Name
Enter the name by which you will refer to this control in the dialog box script.
Leave this blank if you will not manipulate this control with a script.
Summary of Contents for ALTIRIS INVENTORY 7.0 SP2 - FOR NETWORK DEVICES V1.0
Page 1: ...WiseScript Editor Reference ...
Page 31: ...WiseScript Editor Reference 31 ...
Page 91: ...WiseScript Editor Reference 91 ...
Page 148: ...WiseScript Editor Reference 148 ...