Skip to content

Instantly share code, notes, and snippets.

@obviliontsk
obviliontsk / Simulation.cs
Last active May 9, 2023 13:04 — forked from DrustZ/Simulation.cs
Simulate keyboard and mouse input in WPF (similar to sendkeys in winform)
using System;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Input;
namespace RoslynScriptContext;