Exemplo n.º 1
0
        public void Command(Key key1, Key key2)
        {
            Focuser.FocusByHandle(Window.Handle, WindowMode.Restore);

            SendKeysInterop.PressKey(Window.Handle, key2);
            SendKeysInterop.PressKey(Window.Handle, key1);
            //SendKeysInterop.ReleaseKeyUp(Window.Handle, key2);
        }
Exemplo n.º 2
0
 public void Command(Key key)
 {
     Focuser.FocusByHandle(Window.Handle, WindowMode.Restore);
     SendKeysInterop.PressKey(Window.Handle, key);
 }