Desktop.Robot
1.0.0-alpha
This is a prerelease version of Desktop.Robot.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Desktop.Robot --version 1.0.0-alpha
NuGet\Install-Package Desktop.Robot -Version 1.0.0-alpha
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="Desktop.Robot" Version="1.0.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Desktop.Robot --version 1.0.0-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Desktop.Robot, 1.0.0-alpha"
#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 Desktop.Robot as a Cake Addin #addin nuget:?package=Desktop.Robot&version=1.0.0-alpha&prerelease // Install Desktop.Robot as a Cake Tool #tool nuget:?package=Desktop.Robot&version=1.0.0-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Desktop.Robot
This library helps you to automate tasks by simulating inputs (mouse and keyboards) programmatically.
Advantages
- Multiplatform: works on Windows, Linux and OSX
- Built using the Operating System Native API, no other dependency needed
- Easy to use
Example of use
using Desktop.Robot;
using Desktop.Robot.Extensions;
namespace Example
{
class Program
{
static void Main(string[] args)
{
var robot = new Robot();
robot.AutoDelay = 1000;
robot.MouseMove(100, 100);
robot.Click();
robot.Type("A cat is using my PC");
}
}
}
Current limitation
As we are currently developing this tool, multiple monitors are not supported for now.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
- System.Drawing.Common (>= 5.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Desktop.Robot:
Repository | Stars |
---|---|
lucassklp/Desktop.Robot
A library used to control your mouse and keyboard programmatically in .NET Core
|
Version | Downloads | Last updated |
---|---|---|
1.5.0 | 52,777 | 7/10/2023 |
1.4.1 | 196 | 7/3/2023 |
1.4.0 | 162 | 6/27/2023 |
1.3.2 | 4,904 | 9/10/2022 |
1.3.1 | 55,150 | 12/20/2021 |
1.3.0 | 341 | 12/19/2021 |
1.2.4 | 471 | 11/7/2021 |
1.2.3 | 392 | 11/6/2021 |
1.2.3-alpha | 218 | 11/6/2021 |
1.2.2-alpha | 226 | 8/24/2021 |
1.2.1 | 697 | 6/13/2021 |
1.1.1 | 453 | 5/22/2021 |
1.1.0 | 376 | 5/21/2021 |
1.0.0 | 367 | 5/11/2021 |
1.0.0-alpha | 508 | 1/30/2021 |