WINACTIVATE
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.
Makes the specified window active. This function does not affect whether the specified window is maximized or minimized.
Note: This function is superseded by the more general WINACTION function, but is retained for upward compatibility.
Syntax
WINACTIVATE (title)
where title is a text string specifying all or the first part of the title bar of the application window to activate. If there is more than one matching window, the one to be activated will be arbitrarily selected. Matching of the title is case insensitive.
Returns
One of the following numeric values:
|
Value |
Description |
|
0 |
Success |
|
1 |
Failure |
Example
TIBCO iProcess Modeler:
WINACTIVATE ("Microsoft Excel")
TIBCO Business Studio:
IPEEnvironmentUtil.WINACTIVATE("Microsoft Excel");