Run program action (<runprogram> element)
The Run program action launches a native application and optionally waits for it to terminate. You can provide input parameters for the application and store the return code in a variable.
You can launch any application that can be run by the system runtime.
The Run program action has many uses, such as the following:
- Launching a native application that prepares data that the macro needs, or that uses data that the macro has prepared.
- Launching a native application that prepares the workstation (for example, by making a network connection) for an action that the macro is about to initiate.
- Launching a native application that detects the status of a system condition and then reports the status back to the macro.