EasyManua.ls Logo

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

Symantec WISESCRIPT EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0
174 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WiseScript Editor Reference 27
Using Script Editor
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 Customizing the List of Actions on page 23.
5. Click Find Next, Replace, or Replace All.
About User-Defined Actions
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 on page 28.
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 on page 29

Table of Contents

Related product manuals