[Resolved] Paste contents of clipboard into variable

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

Vanlou

Новичок
Регистрация
09.11.2020
Сообщения
21
Реакции
3
Баллы
3
Hello,
I'm using project maker 7.4.0.0.
I would like to paste the content of my virtual browser (the browser that Project Maker simulate) to a variable.
So I've created a c# bloc with this code :
C#:
Развернуть Свернуть Копировать
return System.Windows.Forms.Clipboard.GetText();
Unchecked "Do not return a value".
set the name of my variable "var1".

When I play the C# bloc, the value of my var1 is : "return System.Windows.Forms.Clipboard.GetText();".

What did I wrong please ?
Thank you :)
 
I didn't know what's going on. I think I've saved my template and it works now :)
 

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