Hitachi

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


3.1.5 Creating a script with Easy Input

You can use the Easy Input program to enter commands and statements in a script file. With Easy Input, you can enter commands easily and accurately without needing any command-specific knowledge.

Entered commands and statements can be pasted via the clipboard to the editor you are using.

The Easy Input procedure depends on the associated editor; that is, whether you use Editor or another editor.

To create a script with Easy Input using an editor other than Script Editor:

  1. Choose File, Create. Alternatively, select a script file and choose File, Edit to start the editor.

    The linked editor starts (in the following example, the linked editor is Notepad).

    [Figure]

  2. Choose Tools, Start Easy Input. Alternatively, from the Windows Start menu, choose Programs and then JP1_Script, Easy Input to start the Easy Input facility.

    The Easy Input window appears.

    [Figure]

    For details about using this window, see 3.3 Easy Input operations.

  3. Click Options. In the General tab of the Options dialog box, set the version of the script file to be created.

    [Figure]

    For details about using this dialog box, see 3.3.3 Specifying the JP1/Script version for script creation.

  4. Click the Edit tab. In the Edit tab of the Options dialog box, set the format for output to the clipboard.

    [Figure]

    For details about using this dialog box, see 3.3.4 Setting the line length and indent size.

  5. Click the OK button.

    The script file version and clipboard output format are set. The Script Easy Input window appears again.

    [Figure]

  6. Find and select the command or statement you want to use.

    The focus shifts to the command or statement you selected.

    [Figure]

  7. Click the Display button, or double-click the command or statement.

    If you selected a command, the arguments that need to be set appear in the Argument/Statement area.

    If you selected a statement, the statement syntax appears in this area.

    [Figure]

  8. Enter the command arguments.

    [Figure]

  9. Click the To Clipboard button.

    The contents that you set in the Argument/Statement area are pasted to the clipboard.

  10. Paste the completed command or statement from the clipboard to the editor.

    [Figure]

Notes
  • Select a command name or statement name in the Search for command/statement list box and then right-click to view help about that command or statement.

  • If the command you selected in step 7 has no arguments, a message to that effect appears in the Argument/Statement area.