Show / Hide Table of Contents

Method elm.MouseClickR


Overload

Right-clicks this UI element.

public void MouseClickR(Coord x = default, Coord y = default, int scroll = 0)
Parameters
x  (Coord)

X coordinate in the bounding rectangle of this UI element. Default - center. Examples: 10, ^10 (reverse), .5f (fraction).

y  (Coord)

Y coordinate in the bounding rectangle of this UI element. Default - center.

scroll  (int)

If not 0, the function at first calls elm.ScrollTo. If it succeeds, waits scroll number of milliseconds (let the target app update the UI element rectangle etc). Valid values are 0-5000. Tip: if does not scroll, try to find the UI element with flag UIA.

Exceptions
AuException

Failed to get UI element rectangle in container window (elm.WndContainer).

Exception

Exceptions of mouse.clickEx.

Remarks

Calls mouse.clickEx. To get rectangle in window, uses elm.GetRect with intersecttrue.