Show / Hide Table of Contents

Class OMouse

Options for functions of class mouse.

public sealed class OMouse
Remarks

Total Click(x, y) time is: mouse move + OMouse.MoveSleepFinally + button down + OMouse.ClickSpeed + button up + OMouse.ClickSpeed + OMouse.ClickSleepFinally.

Examples
opt.mouse.MoveSpeed = 30;

Namespace: Au.Types
Assembly: Au.dll
Inheritance
object
OMouse

Properties

Name Description
ClickSleepFinally

How long to wait (milliseconds) before a "mouse click" or "mouse wheel" function returns. Default: 10.

ClickSpeed

How long to wait (milliseconds) after sending each mouse button down or up event (2 events for click, 4 for double-click). Default: 20.

MoveSleepFinally

How long to wait (milliseconds) after moving the mouse cursor. Used in "move+click" functions too. Default: 10.

MoveSpeed

If not 0, makes mouse movements slower, not instant. Default: 0.

Relaxed

Make some functions less strict (throw less exceptions etc). Default: false.

Methods

Name Description
ToString()

See Also

opt.mouse