WiseScript Editor Reference
63
To complete the dialog box
z
VB Script Path
Specify the full path to a .VBS file including the file name. To create a new .VBS file,
specify its full path including the file name and click Yes when prompted to create a
new file. You can use compiler variables in the path.
z
Command Line
If the VBscript requires a command line, enter it here. A command line is probably
required if:
The VBScript required a command line when it ran stand-alone.
The WScript object with the Arguments property (WScript.Arguments) is in the
VBScript.
You can use WiseScript variables in the command line. The sample script
MakeWebDir.wse uses WiseScript variables in the command line to let the end user
specify the name and location of a virtual directory that the script creates. For details on
sample scripts, see ScriptHelp.htm in the Samples subdirectory of this product’s
installation directory.
Editing 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. In this window, you can create and edit the VBScript. The window is similar to
a WiseScript window, but has functionality that is appropriate only for a VBScript.
To edit a VBScript in Script Editor, use the following:
z
Actions in the Actions pane.
See
VBScript Actions
on page 64.
z
Buttons and drop-down list at the top of the Installation Script pane.
z
Right-click menu.
z
Any options on the Edit menu that are enabled.
Display Options
Use the buttons and drop-down list at the top of the Installation Script pane to display
different portions of the VBScript.
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.
Event View
Click this button and select a method from the drop-
down list to display one method at a time.
Full Module View
Click this button to display the entire script. When you
select a method from the drop-down list, the script
opens to that method.
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 ...