How to paste from clipboard ? CTRL+V ?

Goriss

Новичок
Регистрация
30.05.2017
Сообщения
4
Благодарностей
0
Баллы
1
Hey guys,

So i just need to use CTRL+V in zenno. It's not possible to do it any other way but i can't figure out how to press CTRL and then V i tried to use keystroke emulation but it dose not even allowe you to emulate CTRL which is weird... Can anyone help me out ?
 

copper12

Client
Регистрация
26.11.2016
Сообщения
1 111
Благодарностей
260
Баллы
63
Hey guys,

So i just need to use CTRL+V in zenno. It's not possible to do it any other way but i can't figure out how to press CTRL and then V i tried to use keystroke emulation but it dose not even allowe you to emulate CTRL which is weird... Can anyone help me out ?
Insert this code into action Own Code C#
instance.ActiveTab.KeyEvent("V","press","ctrl");
 
Последнее редактирование:
  • Спасибо
Реакции: PHaRTnONu

LightWood

Moderator
Регистрация
04.11.2010
Сообщения
2 382
Благодарностей
915
Баллы
113
C#:
var descr = project.Variables["var1"].Value;
System.Windows.Forms.Clipboard.SetText(descr);
instance.ActiveTab.KeyEvent("v","press","ctrl");
This code for set in clipboard a value of variable with name "var1"
And paste this variable in cursor position.
 

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