PublicUtility.MouseRun
2.0.0
Prefix Reserved
dotnet add package PublicUtility.MouseRun --version 2.0.0
NuGet\Install-Package PublicUtility.MouseRun -Version 2.0.0
<PackageReference Include="PublicUtility.MouseRun" Version="2.0.0" />
paket add PublicUtility.MouseRun --version 2.0.0
#r "nuget: PublicUtility.MouseRun, 2.0.0"
// Install PublicUtility.MouseRun as a Cake Addin #addin nuget:?package=PublicUtility.MouseRun&version=2.0.0 // Install PublicUtility.MouseRun as a Cake Tool #tool nuget:?package=PublicUtility.MouseRun&version=2.0.0
Mouse Run
A helper for mouse manipulation involving clicks and movements.
Installation
To install, just run the C# compiler to generate the .dll file and once the file has been generated, just add the reference to the project or use Nuget or in nuget console, use the following command:
install-Package PublicUtility.MouseRun
Usage
using PublicUtility.MouseRun;
var pos = Mouse.GetPosition(); // gets the current cursor position.
Mouse.MoveTo(500, 40); // moves the mouse to the X and Y point of the screen
Mouse.MoveToAndClick(500, 40); // moves the mouse to the X and Y point of the screen and executes a click
Mouse.Drag(new PointIntoScreen(10, 10), new PointIntoScreen(50,50)); // performs the action of dragging the mouse from one point to another point
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- PublicUtility.Nms (>= 1.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Included a working module in the Linux environment for the main distributions.