Products Applications Downloads Features Wiki forum Store

vclick Command

From Wiki077
Jump to: navigation, search


vclick [-q] [-l] [-m] [-r] [-x ] [-S] [-s] [-d] [-e] [-i id] path mx my

Simulate pressing a button on a component panel. mx and my are the position of the child of the given path. By default the coordinates are assumed to be between 0 and 1. U and V for the child panel will be set after the click.

Options

-l Simulate pressing with the left mouse button.
-m Simulate pressing with the middle mouse button.
-r Simulate pressing with the right mouse button.
-q Quiet mode, supress error and warning output messsages.
-x Give the child's coordinates in pixels instead of normalized coordinates.
-S Coordinates are given in screen space (both pixels and normalized).
-i Specify an identifier for a click drag sequence.
-s Start a click drag sequence by turning select on.
-d Drag a click drag sequence. path is not specified.
-e End a click drag sequence by turning select off.

When path is not specified.

-v Update the v value of the panel only.
-q Quiet mode, supress error and warning output messsages.

Examples

Click on the child at relative position (0.2,0.5)

 vclick /container 0.2 0.5

Press down at child (0.2,0.5)

 vclick -i finger1 -s /container 0.2 0.5

Drag finger 1 to (0.3, 0.4)

 vclick -i finger1 -d 0.3 0.4

Lift finger 1 at (0.4, 0.5)

  vclick -i finger1 -e 0.4 0.5

See Also

click findpanel

Personal tools