WiseScript Package Editor Reference
159
WiseScript Actions
Right-Click Menu Options
z
List Objects
Displays a drop-down list of predefined objects and, when possible, objects that are
called in the script.
For details on when called objects appear in this drop-down list, see
VBScript
Actions
on page 159.
z
List Properties/Methods
Displays, when possible, a drop-down list of the properties and methods of an
object when the cursor is on that object’s property or method. This drop-down list
also appears as a pop-up when you enter the object’s name followed by a period.
For details on when this list appears for an object, see
VBScript Actions
on
page 159.
z
List Functions
Displays a list of VBScript functions. For help on VBScript functions, see the MSDN
Library (
msdn.microsoft.com/library/
).
z
Quick Info
Displays help text, when possible, for a selected item. This help text can also appear
as a pop-up. Example: when you select an item in a drop-down list.
z
Check Syntax
Checks the script for basic syntax and displays a Syntax Error message. A syntax
error message also appear as a pop-up when a syntax error is detected.
z
Revert to Saved
Reverts the current script to the last saved version, to undo any changes you made
since you last saved.
Debugging a VBScript
When you use the Execute VBScript action in a WiseScript, a new tab appears at the
bottom of the Installation Script pane. When you click this tab, the VBScript window
appears.
When you work in the VBScript window, you can use the Debug menu to test just the
VBScript and not the entire WiseScript.
If a VBScript has a command line, you cannot debug the script from the VBScript
window. You must switch to the WiseScript window and debug the entire WiseScript. The
script then runs with the command line.
For details on adding a command line, see
Execute VBScript
on page 157.
See also:
Using the Debug Commands
on page 106
VBScript Actions
When you use the Execute VBScript action in a WiseScript, a new tab appears at the
bottom of the Installation Script pane. When you click this tab, the VBScript window
appears. The VBScript window has three actions that facilitate the creation of the VB
script.
Add an action to a VBScript in the same ways that you add an action to a WiseScript.