Finding And Replacing Text In A Script - Symantec WISESCRIPT PACKAGE EDITOR 8.0 - REFERENCE FOR WISE PACKAGE STUDIO V1.0 Reference

Table of Contents

Advertisement

Finding and Replacing Text in a Script

WiseScript Package Editor Reference
You cannot open multiple scripts in the same instance of WiseScript Package Editor
unless it is an include script or VBScript. However, you can open multiple instances
of WiseScript Package Editor, and open different scripts in each.
See
Customizing the List of Actions
4.
Select a line in the script above which to place the lines you copied, then select Edit
menu > Paste.
The lines appear above the line you selected.
Duplicating or Moving Script Lines
1.
Select one or more script lines.
2.
Select Edit menu > Duplicate, or Edit menu > Move Up or Move Down.
Commenting Out Script Lines
You can temporarily comment out certain script lines to help with the debug process.
Commented out lines remain in the script, but are skipped when the script is executed.
1.
Select one or more lines.
2.
Select Edit menu > Comment.
The commented out lines appear in green and begin with "/*". To reactivate
commented out lines, select the lines and select Edit menu > Comment.
Saving a Script to a Text File
This text file is for viewing and printing only. You cannot make changes in the text file
and import it back into Script Editor.
1.
Select File menu > Save Script Text to File.
2.
Specify the location and name of the file.
Not available in VBScripts.
1.
In Script Editor, do one of the following:
To find text, press Ctrl+F to find text.
To find and replace text, press Ctrl+H.
2.
Enter the text to find.
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.
on page 97.
Customizing the List of Actions
Using Script Editor
on page 97.
100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Wisescript package editor 8.0

Table of Contents