4.1.1 Create New Script File dialog box
The Create New Script File dialog box appears when you choose File, Create in the Script Manager window.
Enter the name for the script file you want to create.
- Organization of this subsection
(1) Components
- New script file name
-
Enter the name of the script file to be created.
- Insert Script Engine version
-
Choose whether to insert the version of Script Engine to be used for file execution at the head of the script file. This setting takes effect only when an editor other that Editor has been associated in the Link Editor dialog box.
(2) Operations
-
Enter a script file name and then click OK to launch the editor specified in the Link Editor dialog box (Tools, Link Editor command).
-
Click Cancel to cancel script creation.
(3) Processing
-
File names must comply with the naming conventions of the Windows file system, except that you cannot use spaces or the following characters:
= : , . { }
-
File naming depends on the network operating system. Comply with the naming conventions for the file system of the operating system you are using.
-
If no editor is specified in the Link Editor dialog box, a message to that effect is displayed and processing is canceled.
-
After creating a script file with the dedicated Editor, you must choose View, and then Refresh to apply the created file to the client area of the Script Manager window.
-
When you select the Insert Script Engine version check box, the following line is inserted at the head of the script file:
#FileVersion=VVRR (VV: JP1/Script version; RR: JP1/Script revision)
The version and revision of the installed JP1/Script program is set in VVRR.
If you do not select the Insert Script Engine version check box, the script file will be executed using the version set in the Options (Compatibility) dialog box of Script Manager.
- Important note
-
-
You cannot use the standard Windows WordPad as an editor for creating a script. Use another editor that supports saving in text format.
-
The Script Engine version does not need to be the same as the version of the installed JP1/Script program. You can apply the conventions of the version of Script Engine to execute a script file. For details, see 6.1.11 Script coding conventions.
-