4.3.15 Differences between script settings methods
There are two ways to configure a script: attaching an existing script, or entering the contents of the script directly. The difference between these methods is described below.
- When Attachment is selected
-
You can register a script composed of multiple files and folders by archiving them as a file in zip format.
Archives in zip format are renamed when the plug-in is placed on the JP1/AO server. The file name is changed to windows.zip, aix.zip, hpux.zip, linux.zip, or solaris.zip depending on the operating system. Files registered with Attachment selected can be downloaded to a terminal where JP1/AO is operated through a Web browser. If you enter the script directly, you cannot download the script file.
- When Direct Input is selected
-
In the Edit Remote Command dialog box, enter the contents of the script to execute on the operation target device directly. You can only define scripts and commands that are present and can be executed on the operation-target device. You can only define one script file. The character set and linefeed code applied to the saved script file are fixed values appropriate to the operating system of the operation-target device.
Therefore, if you want to register a script file that consists of multiple files, or assign a specific character set or linefeed code, select Attachment.
The following table shows the differences between file registration methods and available character sets and linefeed codes depending on the setting in the Setting the Scripts area.
Item |
With Attachment selected |
With Direct Input selected |
||
---|---|---|---|---|
Windows |
AIX, HP-UX, Linux, Solaris |
Windows |
AIX, HP-UX, Linux, Solaris |
|
Registering single file |
Can be registered |
Can be registered |
||
Registering multiple files |
Can be registered |
Cannot be registered |
||
Character set of saved script |
Assigned character set of registered file |
Default character set of JP1/AO server OS |
UTF-8 |
|
Linefeed code of saved scripts |
Assigned linefeed code of registered file |
CR+LF |
LF |
Related topics