3.1.1 Script Manager window and menus
To create a script using JP1/Script, you begin by starting Manager. When you double-click the Manager icon, the Script Manager window appears. In this window you can perform a variety of script operations, such as checking the syntax and saving a created script.
This section describes the functions and menus of the Script Manager window that appears when you start Manager.
- Organization of this subsection
(1) Script Manager window
Figure 3-1 shows the Script Manager window and the names of its components.
|
(a) Toolbar
The toolbar contains buttons representing the most frequently used commands on the pull-down menus. By simply clicking a button, you can execute the corresponding command. You can hide the toolbar by toggling Toolbar in the View menu.
The following command buttons appear in the toolbar of the Script Manager window:
- Create
-
Creates a new script file.
- Edit
-
Edits a script file.
- Copy
-
Copies a script file.
- Add
-
Adds a script file from another folder to the current folder.
- Delete
-
Deletes a script file.
- Rename
-
Renames a script file.
- Exit
-
Quits Manager.
- Syntax Check
-
Checks the syntax of a script file.
- Execute
-
Executes a script file.
- Set Execution Environment
-
Sets the environment for executing a script file.
- Large Icons
-
Displays script files as large icons.
- Small Icons
-
Displays script files as small icons.
- List
-
Displays script files as a list.
- Refresh
-
Updates the information displayed in the client area.
- Set Automatic Start
-
Sets a script file to start automatically.
- Trace Viewer
-
Starts Trace Viewer.
- Easy Input
-
Starts Easy Input facility.
- Menu Editor
-
Starts Menu Editor.
- Process Viewer
-
Starts Process Viewer.
- Help
-
Displays the JP1/Script online help.
(b) Status bar
The status bar displays messages about the processing being carried out by Manager and status messages at completion of processing.
(c) Client area
The client area displays icons that represent files. You can drag and rearrange the icons.
A scroll bar appears if the icons do not all fit within the visible client area.
(2) Menus in the Script Manager window
The pull-down and pop-up menus in the Script Manager window are described next.
(a) Menus and commands
Table 3-1 lists the Script Manager commands (functions) provided in the pull-down menus.
Menu |
Command (function) |
Description |
---|---|---|
File |
Create |
Starts the editor for creating a new script file. |
Edit |
Starts the editor for editing an existing script file. |
|
Copy |
Copies a script file from the current folder to another folder. |
|
Add |
Adds a script file from another folder to the current folder. |
|
Delete |
Deletes a created script file. |
|
Rename |
Renames a script file. |
|
Syntax Check |
Checks the syntax of a created script file. |
|
Execute |
Executes a script file. |
|
Set Execution Environment - All Items |
Sets the execution environment for a created script file. |
|
Set Execution Environment - Command Line |
Changes only the command line in the execution environment for a created script file. |
|
Set Execution Environment - Working Folder |
Changes only the working folder in the execution environment for a created script file. |
|
Set Execution Environment - Start Date |
Changes only the start date in the execution environment for a created script file. |
|
Set Execution Environment - Terminate Time |
Changes only the termination time in the execution environment for a created script file. |
|
Set Execution Environment - Trace Output Folder |
Changes only the trace output folder in the execution environment for a created script file. |
|
Set Execution Environment - User Trace Information |
Changes only the user trace information in the execution environment for a created script file. |
|
Change Folder |
Changes the folder displayed in the client area. |
|
(Folder name) |
Displays the previous folder name. |
|
Exit |
Terminates the Script Manager. |
|
View |
Toolbar |
Shows or hides the toolbar. |
Status Bar |
Shows or hides the status bar. |
|
Large Icons |
Displays the created script files as large icons. |
|
Small Icons |
Displays the created script files as small icons. |
|
List |
Displays the created script files as a list. |
|
Refresh |
Updates the information displayed in the client area. |
|
Tools |
Set Automatic Start |
Sets a script file to start automatically. |
Link Editor |
Links an editor for editing a script file. |
|
Start Trace Viewer |
Starts Trace Viewer. |
|
Start Easy Input |
Starts the Easy Input facility. |
|
Start Menu Editor |
Starts Menu Editor. |
|
Start Process Viewer |
Starts Process Viewer. |
|
Options |
Performs the following functions:
|
|
Help |
Contents |
Displays the contents of the JP1/Script online help. |
About JP1/Script |
Displays version information for JP1/Script. |
(b) Pop-up menu
To display the pop-up menu in the Script Manager window, right-click in the client area. Table 3-2 lists the commands in the Script Manager pop-up menu.
Command (function) |
Description |
---|---|
Create |
Creates a new script file. |
Edit |
Edits a script file. |
Copy |
Copies a script file from the current folder to another folder. |
Add |
Adds a script file from another folder to the current folder. |
Delete |
Deletes a created script file. |
Rename |
Renames a script file. |
Syntax Check |
Checks the syntax of a created script file. |
Execute |
Executes a script file. |
Set Execution Environment - All Items |
Sets the execution environment for a created script file. |
Set Execution Environment - Command Line |
Changes only the command line in the execution environment for a created script file. |
Set Execution Environment - Working Folder |
Changes only the working folder in the execution environment for a created script file. |
Set Execution Environment - Start Date |
Changes only the start date in the execution environment for a created script file. |
Set Execution Environment - Terminate Time |
Changes only the termination time in the execution environment for a created script file. |
Set Execution Environment - Trace Output Folder |
Changes only the trace output folder in the execution environment for a created script file. |
Set Execution Environment - User Trace Information |
Changes only the user trace information in the execution environment for a created script file. |
Start Menu Editor |
Starts Menu Editor. |
Properties |
Displays information about a script file. |