WINSIZE
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.
Changes the size of the active window. The active window may be an iProcess window, or another application window.
Note: This function is superseded by the more general WINACTION function, but is retained for upward compatibility.
Syntax
WINSIZE (x, y)
where:
| • | x is a numeric value specifying: |
| — | if positive, the new width of the window in points. |
| — | if negative, the new width as a percentage of the screen width. |
| • | y is a numeric value specifying: |
| — | if positive, the new height of the window in points. |
| — | if negative, the new height as a percentage of the screen height. |
Returns
One of the following numeric values:
|
Value |
Description |
|
0 |
Success |
|
1 |
Failure |
Example
TIBCO iProcess Modeler:
WINSIZE (200, 200)
TIBCO Business Studio:
IPEEnvironmentUtil.WINSIZE(200,200);