- Регистрация
- 01.02.2012
- Сообщения
- 4 812
- Благодарностей
- 1 187
- Баллы
- 113
Is this true that if I would like to call Keyboard emulation action in c# and write ZENNO for instance then code will look like:
Код:
Emulator.SendKey(instance.ActiveTab.Handle,System.Windows.Forms.Keys.Z, KeyboardEvent.Down);
System.Threading.thread.Sleep(50);
Emulator.SendKey(instance.ActiveTab.Handle,System.Windows.Forms.Keys.E, KeyboardEvent.Down);
System.Threading.thread.Sleep(50);
Emulator.SendKey(instance.ActiveTab.Handle,System.Windows.Forms.Keys.N, KeyboardEvent.Down);
System.Threading.thread.Sleep(50);
Emulator.SendKey(instance.ActiveTab.Handle,System.Windows.Forms.Keys.N, KeyboardEvent.Down);
System.Threading.thread.Sleep(50);
Emulator.SendKey(instance.ActiveTab.Handle,System.Windows.Forms.Keys.O, KeyboardEvent.Down);
System.Threading.thread.Sleep(50);