EmEditor (text editor) Forum Index
   EmEditor Core Bug Reports
     How to retrieve the first clip when system clipboard is non-text?
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
LTT
Posted on: 1/24/2013 5:30 am
Just can't stay away
Joined: 10/11/2006
From:
Posts: 84
How to retrieve the first clip when system clipboard is non-text?
Copy some text;
Then copy an image in another application.
Now the system clipboard content is non-text. At this moment, how to retrieve the text last copied in a macro in EmEditor?
I can see the text last copied (as the first clip) in the Paste menu. But I don't mean to paste it. I find no way to retrieve this clip in a macro, because clipboardData.getData("Text", 0) points to the system clipboard.
Stefan
Posted on: 1/24/2013 9:43 am
Home away from home
Joined: 7/14/2008
From: Germany, EU
Posts: 263
Re: How to retrieve the first clip when system clipboard is non-text?

.

If you code yourself,
maybe this snippet will point you to the right direction:

Snippet plugin > General > Clipboard History




.
Yutaka
Posted on: 1/24/2013 8:40 pm
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2401
Re: How to retrieve the first clip when system clipboard is non-text?
Hello,

I realize this is an issue, but until now I coulnd't figure out how to resolve this issue. Now that I figured out how to resolve this issue, I will fix this on the next version.

Until then, please check the "Monitor the Clipboard copied on External Applications" check box on the History tab of the Customize dialog box to work around the issue.

Thank you!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

LTT
Posted on: 2/13/2013 10:00 am
Just can't stay away
Joined: 10/11/2006
From:
Posts: 84
Re: How to retrieve the first clip when system clipboard is non-text?
Thank you for the solution.

By the way, I remember the depth of the clipboard history once was 33. Now it's 32. I tried changing MaxClipboardHistory. But no effect. Only the part for "Monitor the Clipboard copied on External Applications" (0x80000000) works.
MaxClipboardHistory is only for disabling the Clipboard history?
Yutaka
Posted on: 2/13/2013 11:46 am
Webmaster
Joined: 9/28/2006
From: Redmond
Posts: 2401
Re: How to retrieve the first clip when system clipboard is non-text?
Hello LTT,

Currently, MaxClipboardHistory is not actually used to specify the maximum number, but it only turns on or off the Clipboard history and also turns on or off monitoring the external application.

The maximum number of the clipboard history is always 32, or 33 if you count the current actual clipboard contents in addition to 32 items in the history.

Thanks!


----------------
Yutaka Emura
Developer of EmEditor
http://www.emeditor.com/

Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文