Keyboard emulation in c#

  • Автор темы Автор темы lokiys
  • Дата начала Дата начала

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 922
Реакции
1 206
Баллы
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);
 

Oh thanks i searched bellow emulations and found only that i showed.

Also quick question about Assembly so I'm using this link: http://help.zennolab.com/en/v5/zennoposter/5.0.4/webframe.html
You gave from this: http://help.zennolab.com/en/v5/zennoposter/5.1/webframe.html

Where can i get up to date Assembly link every time zenno have some updates, because as i see not with every update there is new link.

Thanks
 
Forgot to update wiki page. It is updated right now.
 
  • Спасибо
Реакции: lokiys

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)