WiseScript Package Editor Reference
99
Using Script Editor
Adding an Action to a Script
in Script Editor, do any of the following:
z
From the Actions list in the left pane, drag an action onto a line in the Installation
Script list in the right pane. The new action appears above the line that is
highlighted when you drop the action.
z
Click in the script and double-click the action in the Actions list to place the new
action above the line you clicked.
z
Click in the script and start typing the first few letters of the action name. As you
type, the current line becomes a drop-down list with all the action names, and the
action that most closely matches the letters you typed is the current item in the list.
When the action you want is the current item in the list, press Enter.
Note
(WiseScript Package Editor only) To insert lines below the line you selected, mark the
Append New Items option in Preferences.
See
Setting Preferences
on page 25.
When you add an action, a dialog box appears that lets you set the parameters for the
action unless it does not require parameters. When you add a Custom Dialog or Custom
Billboard action, the appropriate editing environment opens.
Some actions come in pairs. (Example: When you add an If action, you must also add an
End action at the end of the condition block.) Script Editor indents actions inside these
pairs.
Use the same methods to add an action to a VBScript.
See
VBScript Actions
on page 159.
Editing Scripts
To edit a WiseScript in Script Editor, use the commands on the Edit menu, the
commands on the right-click menu, or the tools on the toolbar. You can edit only one
script line at a time, but you can cut, copy, or paste several lines at one time.
To edit an include script, select it by clicking its tab. Changes that you make to an
include script are saved when you save the project.
To edit a VBScript, see
Editing a VBScript
on page 158.
Editing Script Action Parameters
Double-click the action in the script. For most script actions, a dialog box appears so you
can configure its parameters. When you double-click a Custom Billboard or Custom
Dialog action, the appropriate editing environment opens.
Copying and Pasting Script Lines
1. Select one or more script lines.
2. Select Edit menu > Cut or Copy.
3. If you’re copying the lines to another installation, open that installation script in
Script Editor.
Содержание WISESCRIPT PACKAGE EDITOR 8.0
Страница 1: ...WiseScript Package Editor Reference ...