WiseScript Editor Reference
120
value returned from the previous dialog box, then use one or more Set Control
Attributes script actions to enable buttons.
z
Have the INIT event disable certain buttons if they are not valid based on previously
chosen options.
z
Have the INIT event store the current amount of free memory in a static text
control, then set the dialog box to display the current amount of free memory in the
lower-left corner.
z
Have the UPDATE event enable the Next button on a wizard dialog box when a
password field contains the correct value. The UPDATE event is called whenever any
field or control is changed, and the variable associated with each field or control
contains its current value, suitable for testing in a script.
z
Have the VERIFY event check the contents of one or more fields on the dialog box
and reject the end user’s entry if it is not valid. VERIFY is called when the end user
tries to exit the dialog box. Set the DLG_EVENT_TYPE variable to an empty string
within the handler to prevent the dialog box from closing. If all fields are correct, do
not change DLG_EVENT_TYPE.
z
Create a button on the dialog box that generates a custom event. Example: Create
an event called DISKSPACE, and set its handler to show the amount of free disk
space using a Display Message event.
See also:
Creating a Custom Dialog Box Script
on page 118
Dialog Box Script Actions
on page 119
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 ...