WINRESTORE
Usage
TIBCO iProcess Workspace (Windows)
Warning: (iProcess only) This expression is not available to the TIBCO iProcess Script Server Plug-in. Therefore, even though you can successfully enter the expression in your iProcess Script plug-in definition, it will not be processed by the iProcess Engine. It will return SW_NA.
Restores the active window (equivalent to the option on the window’s control menu).
Note: This function has been superseded by the more general WINACTION function, but is retained for upward compatibility.
Syntax
WINRESTORE ()
Returns
One of the following numeric values:
Value |
Description |
0 |
Success |
1 |
Failure |
Example
TIBCO iProcess Modeler:
In a script:
WINACTIVATE ("Microsoft Excel")
WINMINIMIZE ()
WINRESTORE ()
TIBCO Business Studio:
IPEEnvironmentUtil.WINACTIVATE("Microsoft Excel");
IPEEnvironmentUtil.WINMINIMIZE();
IPEEnvironmentUtil.WINRESTORE();