WiseScript Package Editor Reference
106
Using Script Editor
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 101
Using the Debug Commands
¾
WiseScript Package Editor only
You can test a script by using the Test or Run buttons on the navigation bar, or by using
the more flexible capabilities of the Script Editor debug commands. The Debug menu in
Script Editor has a set of debug commands that let you step through your script to make
sure it functions properly or run to a breakpoint to view the script and the values of
variables.
When you use Debug menu in the VBScript window, it tests only the VBScript, not the
entire script.
See
Debugging a VBScript
on page 159.
You can also use Display Message and Compiler Variable actions to generate a debug
version when you compile.
See
Building a Debug Version
on page 107.
To use the debug commands
1. Select Debug menu and select a command.
Go
Begin debugging. It runs the installation .EXE and a yellow arrow appears next
to your first line of script. Also use it to proceed to the next breakpoint.
Set Breakpoint
Set a breakpoint at the selected action. A breakpoint is a place in the script that
temporarily halts execution. A red dot marks each breakpoint.
Single Step
Step through the script and execute only the script action with the arrow next to
it.
Stop Debugging
Exit the installation and resume normal Script Editor operation.