About User-Defined Actions
WiseScript Editor Reference
This function searches the visible text in the script lines as well as the parameters
that are associated with the script lines.
3.
(Replace function only) Enter the replacement text.
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.
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.
Customizing the List of Actions
on page 29.
Using Script Editor
on page 24.
28
Need help?
Do you have a question about the WISESCRIPT EDITOR 7.0 SP2 - FOR WISE INSTALLATION EXPRESS V1.0 and is the answer not in the manual?
Questions and answers