Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


2.7.1 Starting JP1/Script

Start JP1/Script component programs as described below.

Organization of this subsection

(1) Starting Manager

To create or edit a script file using JP1/Script, first start Manager:

  1. From the Windows Start menu, choose Programs, JP1_Script, then Manager

    Manager functions include script file management, setting of the execution environment, and checking script syntax.

For details about Manager, see 3.1.1 Script Manager window and menus.

(2) Starting Editor

There are three ways of starting Editor.

(a) Starting from the Windows Start menu

  1. From the Windows Start menu, choose Programs, JP1_Script, then Editor.

(b) Starting from Manager

Start Editor to actually create or edit a script file:

  1. Select a script file in the Manager window.

  2. In the Manager window, choose File, Edit.

    If a different editor is associated with the selected file, that editor will open.

(c) Drag-and-drop operation

  1. Drag a script file icon from Windows Explorer, and drop it on the Editor icon or in the active Editor window.

    For details about Editor, see 3.2.1 Script Editor window and menus.

(3) Starting Trace Viewer

The traces produced at script file execution are output to a trace file. To view trace status, start Trace Viewer in either of the following ways.

(a) Starting from the Windows Start menu

  1. From the Windows Start menu, choose Programs, JP1_Script, then Trace Viewer.

(b) Starting from Manager

  1. In the Manager window, choose File, Start Trace Viewer.

    Trace Viewer starts and the Trace Viewer window opens, displaying a list of trace files.

For details about Trace Viewer, see 3.4.1 Script Trace Viewer window and menus.

(4) Starting Menu Editor

There are five ways of starting Menu Editor.

(a) Starting from the Windows Start menu

  1. From the Windows Start menu, choose Programs, JP1_Script, then Menu Editor.

(b) Starting from Manager

  1. Select a script file in the Manager window.

  2. From the Tools menu, choose Start Menu Editor. Alternatively, right-click to open the pop-up menu, then choose Start Menu Editor.

(c) Starting from Editor

  1. From the Edit menu, choose Menu Editor. Alternatively, right-click to open the pop-up menu, then choose Menu Editor.

(d) Drag-and-drop operation

  1. Drag a menu information file from Windows Explorer, and drop it on the Menu Editor icon or in the active Menu Editor window.

    If the menu information file is being updated, when you drop the file a message asks if you want to save the file.

(e) Starting from Windows Explorer

  1. In Windows Explorer, select a menu information file.

  2. Choose File, Open. Alternatively, double-click the selected file.

For details about Menu Editor, see 3.6.1 Script Menu Editor window and menus.

(5) Automatic startup

You can use the JP1/Script service or Script Launcher to automatically start a script to use JP1/Script. Automatic startup is not applicable to the Script Launcher service.

There are two ways of starting a script file automatically:

To enable automatic startup, you must set the execution environment (startup information) in Manager. For details, see 3.1.14 Setting a script to start automatically.