- Регистрация
- 15.05.2017
- Сообщения
- 436
- Благодарностей
- 104
- Баллы
- 43
Hello, I need to copy text from variable to clipboard as html
Works normaly, but if I change UnicodeText to Html - nothing happens, clipboard is empty
This does not work -
C#:
var textcr = project.Variables ["text"]. Value;
System.Windows.Forms.Clipboard.SetText ("textcr", System.Windows.Forms.TextDataFormat.UnicodeText);
instance.ActiveTab.KeyEvent ("v", "press", "ctrl");
This does not work -
C#:
var textcr = project.Variables ["text"]. Value;
System.Windows.Forms.Clipboard.SetText ("textcr", System.Windows.Forms.TextDataFormat.Html);
instance.ActiveTab.KeyEvent ("v", "press", "ctrl");