WiseScript Editor Reference
64
For details on when called objects appear in this drop-down list, see
VBScript
Actions
on page 64.
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 64.
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.
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.
See
Adding an Action to a Script
on page 19.
Call COM Object
Use this action to create a script to call a COM object in the VBScript. You can manually
enter the script to call a COM object, but the Call COM Object action facilitates this
process by providing information about the COM objects. If the object is registered on
your computer, this action can provide the following functionality:
z
The object appears in the List Objects drop-down list that is accessed from the
right-click menu.
z
The object has a List Properties/Methods drop-down that lists the exposed
properties and methods of that object. Example: This drop-down list appears when
you enter the object’s name followed by a period.
z
A help pop-up is associated with the object and its properties and methods. This
pop-up displays help text for these items when they are selected in a drop-down list
or when you select Quick Info from the right-click menu.
When you call an object in a VBScript, the object persists between the execution of that
script and any other VBScripts that are executed by the same WiseScript. (Example: If
the WiseScript executes two VBScripts and the first VBScript calls an object, you do not
need to create the object in the second script to access its properties and methods.)
However, if you create an object in one editor window you will not automatically see its
properties and methods in a second window even though they will execute properly.
Содержание ALTIRIS INVENTORY 7.0 SP2 - FOR NETWORK DEVICES V1.0
Страница 1: ...WiseScript Editor Reference ...
Страница 31: ...WiseScript Editor Reference 31 ...
Страница 91: ...WiseScript Editor Reference 91 ...
Страница 148: ...WiseScript Editor Reference 148 ...