sendMouseClick

                      +-"LEFT"---+     +-"DBLCLK"-+
>>-sendMouseClick--(--+-"RIGHT"--+--,--+-"UP"-----+----,--x--,--y-->
                      +-"MIDDLE"-+     +-"DOWN"---+

>--+-----------------------------+--)--------------------------><
   |       +----------------+    |
   |       V                |    |
   +-,--"----+-LEFTDOWN---+-+--"-+
             +-RIGHTDOWN--+
             +-MIDDLEDOWN-+
             +-SHIFT------+
             +-CONTROL----+

Simulates a mouse click event in the associated window.

Arguments:

The arguments are:

which

Specifies which mouse button is simulated. LEFT is the default.

kind

Selects the simulated mouse action. DBLCLK is the default.

x,y

Specifies the coordinates of the mouse click event, in screen coordinates, relative to the upper left corner of the window.

ext

Can be one or more of the following strings:

LEFTDOWN

Simulates the pressed left mouse button.

RIGHTDOWN

Simulates the pressed right mouse button.

MIDDLEDOWN

Simulates the pressed middle mouse button.

SHIFT

Simulates the pressed Shift key.

CONTROL

Simulates the pressed Control key.