Exemplo n.º 1
0
 void DoKeySeq(Keys[] keys)
 {
     foreach (var key in keys)
         keybd_event((byte)key, 0, 0, UIntPtr.Zero);
     foreach (var key in keys.Reverse())
         keybd_event((byte)key, 0, KEYEVENTF_KEYUP, UIntPtr.Zero);
 }