pywinauto_recorder.player.MoveMode

class pywinauto_recorder.player.MoveMode(value)[source]

Bases: Enum

The MoveMode class is an enumeration of the different ways that the mouse can move.

Attributes

linear

The mouse cursor moves in a straight line from the start point to the end point with a constant speed.

y_first

The mouse cursor moves at a right angle from the starting point to the ending point at a constant speed.

x_first

The mouse cursor moves at a right angle from the starting point to the ending point at a constant speed.

linear = 0

The mouse cursor moves in a straight line from the start point to the end point with a constant speed.

x_first = 2

The mouse cursor moves at a right angle from the starting point to the ending point at a constant speed. The first segment of the right angle is horizontal and the second is vertical.

y_first = 1

The mouse cursor moves at a right angle from the starting point to the ending point at a constant speed. The first segment of the right angle is vertical and the second is horizontal.