Basic Scripting Concepts - Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

Basic Scripting Concepts

WiseScript Editor Reference
4.
Click OK on the DLL Parameter Settings dialog box.
5.
Click OK on the Call DLL Function dialog box.
6.
In Title (located above the Actions list), enter "Wait %WAIT_TIME% Milliseconds."
This determines how the script line looks in the script.
7.
Save the script.
It should already be named Wait.wse and should be in the Actions subdirectory of
this product's installation directory, or in the shared directory that is specified in
Preferences.
To test the action
1.
Close WiseScript Editor.
2.
Open WiseScript Editor and select File menu > New > Empty Project and click OK.
An empty project contains a default script in Script Editor.
3.
In the Installation Script list, click the top line in the script.
4.
In the Actions list, double-click the Wait action.
The dialog box you created for your user-defined action appears.
5.
Enter 9000 and click OK.
A new script line appears in your script that looks like this:
Wait 9000 Milliseconds
9000 milliseconds equals nine seconds.
6.
Save the script.
7.
Click Test to test your script.
After the blue screen appears, there should be a nine-second delay before the Welcome
dialog box appears.
If the action does not work, check the options you entered for the Call DLL statement. If
it still doesn't work, open the Pause.wse file located in the Actions directory and view its
parameters. The Pause action is identical to the Wait action you just created.
You can place the Wait action anywhere in the script to pause the script execution.
Example: To display a detailed billboard for several seconds, you could place a Wait
action immediately after the Display Billboard script line.
See also:
About User-Defined Actions
If you do not have a basic understanding of scripting concepts, you should become
familiar with them before trying to write a WiseScript.
See:
About Script Editor
on page 21
on page 27
Using Script Editor
31

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript editor 8.0

Table of Contents