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

ctrx_mouse_up

Example: ctrx_mouse_up Mouse Functions

Emulates a mouse up click on a Citrix client sent to a Citrix server.

int ctrx_mouse_up( long x_pos, long y_pos, long mouse_button, long key_modifier, char *window_name , [CONTINUE_ON_ERROR,] CTRX_LAST );
int ctrx_obj_mouse_up( const char *obj_desc, long x_pos, long y_pos, long mouse_button, long key_modifier, char *window_name , [CONTINUE_ON_ERROR,] CTRX_LAST );
obj_desc A description of the object recorded if the agent is installed on the server.
x_pos The horizontal distance of the mouse up click from the edge of the ICA client window.
y_pos The vertical distance of the mouse up click from the edge of the ICA client window.
mouse_button Mouse Key Values.
key_modifier Key Modifier Values that were pressed together with the mouse_button.
window_name The title of the window in which the double mouse click occurs. NULL if not within an active window.
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_mouse_up waits for the window window_name to appear, then executes a mouse up at the specified position.

If the agent is installed on the server, ctrx_obj_mouse_up is recorded. The only difference is the additional object description.

If the mouse up click occurs on the desktop (i.e., not within a window), then x_pos and y_pos will hold values relative to the edge of the screen.

The wildcard character (*) can be used in window_name.

Return Values

Citrix ICA Return Values

Parameterization

No parameterization is available for this function.