How to move the cursor or simulate clicks for other applications?
You’ve inspired me to refactor some of my automation code: NativeMethods.cs – got most of this from online: using System; using System.Runtime.InteropServices; public class NativeMethods { [DllImport( “user32.dll”, SetLastError = true )] internal static extern Int32 SendInput( Int32 cInputs, ref INPUT pInputs, Int32 cbSize ); [StructLayout( LayoutKind.Explicit, Pack = 1, Size = 28 )] internal … Read more