22.11.10.2 Application Trigger

This function is operational when using the IPC Series or SP5000 Open Box (SP-5B40).

Runs the specified range and start the application.
You can specify settings such as the startup parameters and the watch on multiplex start.

Exec_Process (Parameter 1, Parameter 2, Parameter 3, Parameter 4)

Parameter 1 (EXE path) input method

There are 3 ways to input the EXE path:

The following description gives an example of executing sample.exe in C:\Documents and Settings\user\Local Settings\Temp.

  1. Full path
    For example, C:\Documents and Settings\user\Local Settings\Temp\sample.exe

  2. EXE only
    If the executable file is in a folder specified as the path in the Environment Settings on an IPC Series
    For example, sample.exe
    (Run when Path=C:\Documents and Settings\user\Local Settings\Temp)

  3. Define using environment variable
    If the executable file is in a folder specified as an environment variable in the Environment Settings on an IPC Series
    For example, %TEMP%\sample.exe
    (Run when environment variable is TEMP=C:\Documents and Settings\user\Local Settings\Temp)

Example expression 1:

Allow multiple instances (Start the notepad and display the Readme.txt)

Exec_Process("C:\WINDOWS\SYSTEM32\notepad.exe","D:\TEMP\Readme.txt","",0)
Exec_Process("%SystemFolder%\notepad.exe","D:\TEMP\Readme.txt","",1)

Example expression 2:

Do not allow multiple instances:

Exec_Process("C:\WINDOWS\SYSTEM32\notepad.exe","D:\TEMP\Readme.txt","Readme",0)

Example expression 3:

Do not allow multiple instances: Whole Words Only (Start the notepad and display the Readme.txt)

Exec_Process("C:\WINDOWS\SYSTEM32\notepad.exe","D:\TEMP\Readme.txt","Readme.txt - Notepad",1)

Example expression 4:

Do not allow multiple instances: Partial Words (Start the notepad)

Exec_Process("C:\WINDOWS\SYSTEM32\notepad.exe","","Notepad",0)

Example expression 5:

No parameter (Start the notepad)

Exec_Process("C:\WINDOWS\SYSTEM32\notepad.exe","","",0)

Example expression 6:

Multiple Parameter (Start the sample.exe)

Exec_Process("C:\WINDOWS\SYSTEM32\sample.exe","/v /a/s","",1)