desactivate emulation

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

jen

Client
Регистрация
17.09.2011
Сообщения
33
Реакции
0
Баллы
6
Hello,

I try to disable the emulation but I can not find.

How do ?

Thank you for your answers
 
I want it to paste the text and not write
 
I want take a text in a file .txt to paste it on a site, not write
 
Set text to Clipboard and Emulate ctrl + v

JavaScript:
Развернуть Свернуть Копировать
// reading new variable

string article = project.Variables["article"].Value;

lock(SyncObjects.InputSyncer)

{

       // filling the clipboard with the required text

       System.Windows.Forms.Clipboard.SetText(article);    

       // activate window

       Emulator.ActiveWindow(instance.FormTitle);

       // sending Ctrl+V

       System.Windows.Forms.SendKeys.SendWait("^v");

}
 
  • Спасибо
Реакции: jen
Thank you for your answers
 

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