public static void Main(string[] args) { DeviceControl control = new VirtualBoxControl("Poker Niklas"); //Thread.Sleep(3000); //control.KeyboardSendMinimizeAllWindows(); Thread.Sleep(5000); control.KeyboardSend("cmn"); Console.WriteLine("done"); Console.ReadKey(); }
public static void Main(string[] args) { Log.SetLevel(Log.Level.DEBUG); DeviceControl device = new VirtualBoxControl("Poker Birgit"); device.ResetMouse(); Mouse mouse = new HumanMouse(device); while (true) { mouse.Move(20, 20); mouse.Move(500, 500); mouse.Move(850, 850); mouse.Move(100, 100); } }