Dialog Box Script Actions; Dialog Box Script Examples - Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

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 21. Also see
Expressions
on page 33.
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 46
Check Configuration
on page 51
Check If File/Dir Exists
on page 55
Display Message
on page 69
Edit INI File
on page 71
Edit Registry
on page 71
Else Statement
on page 75
ElseIf Statement
on page 75
End Statement
on page 76
Get Registry Key Value
on page 85
Get System Information
If Statement
on page 90
Parse String
on page 100
Prompt for Filename
on page 102
Read INI Value
on page 104
Remark
on page 106
Set Control Attributes
on page 110
Set Control Text
on page 111
Set Current Control
on page 112
Set Variable
on page 113
While Statement
on page 116
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 120.
on page 87
Creating Custom Dialog Boxes
About
on page 32 and
Variables and
144

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript editor 8.0

Table of Contents