Some programs can start another program on certain event.
It goes, for example, about programs for the UPS (backup power source)
that can start another program on warning when the power in the backup source is running out.
But which program to start so that the PROMOTIC application which is just running on the computer, would be told about it?
This problem is just solved by the PmSignal.exe
program is determined for the interception
(indication) of another application event
. For example:
- Messages from the UPS station (backup power source). If the power of the backup station is running out a defined action can be triggered. It is usually launching a specific program.
- Detection of the batch *.bat file termination. Calling the PmSignal.exe program at the end of this batch is sufficient enough.
You can start the PmSignal.exe
program also with one text parameter. For example "C:\Promotic\Tools\PmSignal\PmSignal.exe xy"
This parameter (in this case xy
) is then passed into the onAppSignal
event as the pEvent.Param
After starting this program, the onAppSignal
event is triggered in the PROMOTIC application. Then you can implement required actions in this event.
The program PmSignal.exe
must be started on the same computer where the PROMOTIC application runs.
In the case of using the PmSignal.exe
program, only one PROMOTIC application
can run on the computer.
program is located in the \Promotic\Tools\PmSignal