Dialog Box Script Actions
Dialog Box Script Examples
WiseScript Editor Reference
To create a custom dialog box script
Note
Before you write a custom dialog box script, review the introductory material in
Script Editor
on page 22. Also see
Expressions
on page 34.
1.
Open the dialog box in the Custom Dialog Editor.
See
Editing Dialog Boxes
2.
Select View menu > Dialog Script Editor.
The Dialog Script Editor opens.
3.
Create the script as you would in Script Editor.
The sample scripts Event Handler.wse and License Agreement.wse use scripting to
handle mouse events. For details on sample scripts, see ScriptHelp.htm in the Samples
subdirectory of this product's installation directory.
The script actions available in the Dialog Script Editor are a subset of the actions in
Script Editor, with the addition of these script actions that manipulate controls on the
dialog box programmatically: Set Control Attributes, Set Control Text, and Set Current
Control.
Call DLL Function
on page 47
Check Configuration
on page 52
Check If File/Dir Exists
on page 56
Display Message
on page 70
Edit INI File
on page 72
Edit Registry
on page 72
Else Statement
on page 76
ElseIf Statement
on page 76
End Statement
on page 77
Get Registry Key Value
on page 86
Get System Information
If Statement
on page 91
Parse String
on page 101
Prompt for Filename
on page 103
Read INI Value
on page 105
Remark
on page 107
Set Control Attributes
on page 111
Set Control Text
on page 112
Set Current Control
on page 113
Set Variable
on page 114
While Statement
on page 117
To see an example of a dialog box script
1.
Open the sample script Event Handler.wse in the Samples subdirectory of this
product's installation directory.
2.
In Script Editor, double-click the Custom Dialog "Event Handler" script line.
Conditions and Loops
on page 121.
on page 88
Creating Custom Dialog Boxes
About
on page 33 and
Variables and
145
Need help?
Do you have a question about the WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0 and is the answer not in the manual?
Questions and answers