Open topic with navigation
|Example: ctrx_mouse_double_click||Mouse Functions|
Emulates a double mouse click on a Citrix client sent to a Citrix server.
int ctrx_mouse_double_click( long x_pos, long y_pos, long mouse_button, long key_modifier, char *window_name, [CONTINUE_ON_ERROR,] CTRX_LAST );
int ctrx_obj_mouse_double_click( 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 click from the edge of the ICA client window.|
|y_pos||The vertical distance of the mouse 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_double_click waits for window window_name to appear, then executes a mouse double click.
If the agent is installed on the server, ctrx_obj_mouse_double_click is recorded. The only difference is the additional object description.
If the double mouse 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.
No parameterization is available for this function.