About User-Defined Actions - Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

About User-Defined Actions

WiseScript Editor Reference
You can replace a command's parameters and editable text, but not the command
itself.
4.
To search for the text across all WiseScripts, mark Search Across Include
Scripts.
For information on include scripts, see
5.
Click Find Next, Replace, or Replace All.
You can streamline your development process by creating your own script actions for
tasks that you perform frequently.
Example: You have written a section of script that opens a Web page on your company's
Web site. Some of the script lines search the registry to determine the default browser
on the destination computer, and other lines open the browser to the specified URL. To
avoid having to copy and paste this section of script into new WiseScripts that you
create, you can make it a user-defined action that will be available in all new WiseScripts
that you develop.
User-defined actions appear in the Actions list in Script Editor along with the predefined
script actions.
You create a user-defined action by creating a separate WiseScript and saving it in the
Actions subdirectory of this product's installation directory, or in the shared directory
that is specified in Preferences.
See
Creating a User-Defined Action
When you create a user-defined action, specify the following in the script:
Action Name
The file name of the script.
Dialog Box
Include a dialog box only if your action has parameters that you must change each time
you use the action. This dialog box appears when your action is double-clicked.
Example: For an action that opens a URL in the in the destination computer's browser,
you might include a dialog box that asks for the URL. Then if the URL changes
frequently, you can specify the new URL each time you use the action.
Script Lines
The script lines that perform the action are the functional part of the action. Example:
For an action that opens a URL in the destination computer's browser, the script lines
determine the default browser and opens the Web page.
Format of the Script Line
The format of the script line refers to how the script line looks after you add the action to
your script. You enter a combination of text and variables to define the format.
See also:
Creating a User-Defined Action: Tutorial
Customizing the List of Actions
on page 28.
on page 29
Using Script Editor
on page 23.
27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript editor 8.0

Table of Contents