Citrix ICA Vuser Functions (CTRX) > Alphabetical List of Functions > ctrx_win_exist

ctrx_win_exist

Example: ctrx_win_exist Synchronization Functions

Checks if a window is visible on the screen.

int ctrx_win_exist( char *window_name, long waiting_time, [CONTINUE_ON_ERROR,] CTRX_LAST );
window_name The name of the window to check
waiting_time Indicates the timeout to wait, in seconds
CONTINUE_ON_ERROR A constant, entered as shown without quotes. Overrides the error behavior run-time setting for this step so that script behaves as though the run-time setting was Continue on error.
CTRX_LAST A marker that indicates the end of the argument list.

ctrx_win_exist returns E_OK (zero) if the window exists. The wildcard character (*) can be used in window_name.

Return Values

Citrix ICA Return Values

Parameterization

No parameterization is available for this function.