WiseScript Editor Reference
26
7. Save the script.
It should already be named Wait.wse and should be in the Actions subdirectory of
this product’s installation directory.
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
on page 22
Basic Scripting Concepts
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 15
Conditions and Loops
on page 27
Variables and Expressions
on page 28
Compiler Variables and Run-time Variables
on page 29
Anatomy of an Installation Script
on page 30
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 ...