WINRUN
Usage
TIBCO iProcess Workspace (Windows)
Start a program on iProcess Workspace (Windows).
abox file processing is performed.Syntax
WINRUN (cmdline, show)
where:
| • | cmdline is a text string specifying the command line which would be used to start the application; this can contain parameters specified in the same way as for SERVERRUN. |
| • | show is one of the following numeric values, specifying how the application window is shown initially, unless overridden by the application. |
|
Value |
Initial window view |
|
0, 1, or >5 |
Show the window normal size, and activate it |
|
2 |
Show the window minimized, and activate it |
|
3 |
Show the window maximized, and activate it |
|
4 |
Show the window normal size, do not activate it |
|
5 |
Show the window minimized, do not activate it |
Returns
One of the following numeric values:
|
Value |
Description |
|
-6 |
cmdline too long to run (maximum 127 characters). |
|
-1 |
cmdline is blank or SW_NA. |
|
0 - 31 |
iProcess Workspace (Windows) error code. |
|
>= 32 |
Success (instance handle returned – an integer of up to 6 digits). |
Examples
TIBCO iProcess Modeler:
WINRUN ("EXCEL " + datafile + ".XLS", 1)
TIBCO Business Studio:
IPEExternalUtil.WINRUN("EXCEL " + datafile + ".XLS", 1);