AutoGUI 1.2.0
dotnet add package AutoGUI --version 1.2.0
NuGet\Install-Package AutoGUI -Version 1.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AutoGUI" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoGUI --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AutoGUI, 1.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AutoGUI as a Cake Addin #addin nuget:?package=AutoGUI&version=1.2.0 // Install AutoGUI as a Cake Tool #tool nuget:?package=AutoGUI&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Introduction
(Only windows) Set keys or Unicode characters automatically by using Keyboard class. Set or get cursor position and do clicks automatically by using Cursor class
It uses WINAPI to control cursor and keyboard input.
How to use it (code example)
// Import AutoGUI library
using AutoGUI;
// Get the current position of the cursor and print its values
Point p = Cursor.GetPos();
System.Console.WriteLine(p); // Output: X=[X value], Y=[Y value]
// Move the cursor at the position X=100 Y=100 and click on it
Cursor.SetPos(100, 100);
Cursor.LeftClick();
// On any input field
Keyboard.Set("Hello world!");
Previous requirements
- NET 5 or later versions
- Windows 7 or later versions
If you are in Visual Studio you probably have to set this in your project: In your project->Properties you need to have .NET 6 or later in your Target framework , and you need to have Windows 7.0 or later in your Target OS
Contact me
- Instagram: https://www.instagram.com/julienf_04/
- Gmail: julian.fajardo000@gmail.com
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.