Requested Clipboard operation did not succeed

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 908
Благодарностей
1 200
Баллы
113
Simple code worked before okay, suddenly for many templates started to throw this error. Just one thread was running. Nothing else on zennoposter.

Сообщение: "Requested Clipboard operation did not succeed."

C#:
lock(SyncObjects.InputSyncer)
{
    string bio = project.Variables["emailVerifyLink"].Value;
    System.Windows.Forms.Clipboard.SetText(bio);
    instance.ActiveTab.KeyEvent("v", "press", "ctrl");
}
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 908
Благодарностей
1 200
Баллы
113

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 664
Благодарностей
5 975
Баллы
113

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 908
Благодарностей
1 200
Баллы
113
It may be then something restricts access to clipboard.
Need more details on how to reproduce the error.
How do i track that down? I have no idea why and when that issue comes up. Any c# you can give me so i can add in template to print me some logs what is blocking clipboard?

PS.

I bet Zenno is not releasing it because it works and then it stops working while nothing else uses the PC. Except some copy paste in templates.
 

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