WINMOVE

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.

Moves the active window to the specified position on the screen. 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

WINMOVE (x, y)

where:

x is a numeric value specifying:
if positive, the new horizontal position in points from the left edge of the screen.
if negative, the percentage across the screen width.
y is a numeric value specifying:
if positive, the new vertical position in points from the top edge of the screen.
if negative, the percentage down the screen height.

Returns

One of the following numeric values:

Value

Description

0

Success

1

Failure

Example

TIBCO iProcess Modeler:

WINMOVE (20, 20)

TIBCO Business Studio:

IPEEnvironmentUtil.WINMOVE(20,20);