3.12.2 Execution methods
The execution method is as follows for an example where notepad.exe, a standard Windows application, is used as the executable application that is executed from a PC job of JP1/AJS.
-
Define the PC job of JP1/AJS.
-
When waiting for the executable application to finish:
Specify the GUI application execution program (installation folder\JP1ASE\bin\adshappexec.exe) of JP1/Advanced Shell for the name of the executable file.
Specify the -w and executable application name for the parameter. In this example, "-w notepad.exe" is specified.
-
When not waiting for the executable application to finish:
Specify the GUI application execution program (installation folder\JP1ASE\bin\adshappexec.exe) of JP1/Advanced Shell for the name of the executable file.
Specify the -n and executable application name for the parameter. In this example, "-n notepad.exe" is specified.
-
-
Start up the application execution agent.
Log in as the user who will be executing the job of JP1/AJS and conduct the following actions.
If you select All Programs > Advanced Shell > Application Execution Agent from Start menu of Windows, the Application Execution Agent icon appears in the notification area of the Task bar.
If the application execution agent has been registered as a startup, this operation is not required.
-
Execute the job of JP1/AJS.
-
When waiting for the executable application to finish:
When the job of JP1/AJS is executed, notepad.exe starts.
When notepad.exe is closed, the job finishes.
-
When not waiting for the executable application to finish:
The job finishes without waiting for notepad.exe to close.
-