ConsoleUser
Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com
This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.
All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.
- class SimpleMouseStrategy.SimpleMouseStrategy(config)¶
This Mouse Strategy is a very simple approach. It just directly moves the mouse to the coordinates and does not intentionally introduce any errors when clicking or moving.
Parameters:
config: a <no title> object that defines the current user
- click(button, system)¶
Click the button with nothing fancy for timing or accidental dragging or anything like that.
Parameters:
button: which mouse button is to be clicked
system: a <no title> handle to the remote system
- move(x, y, system)¶
Move the mouse directly to the given coordinates, tablet style if available in the system.
Parameters:
x: the X coordinate of the target system
y: the Y coordinate of the target system
system: a <no title> handle to the remote system