Get application name from Windows XP cut and paste?

Question :

Get application name from Windows XP cut and paste?,

Answer :

This is a bit of a long shot, but if anyone can figure it out, you guys can…

In Windows XP, is there any meta-data that comes with a cut and paste action, from which I can ascertain the application that provided the clipboard contents?

Bonus question… if there is such information, is there any way I can access it through a Java app?

,

The API function GetClipboardOwner returns the clipboard owner
-sorry cannot mark as link because the “()” in the URL-

Read More  Hidden Features of C#?

Don’t know Java, I suppose you can call native API functions from inside the Java VM.

A “quick and dirty” approach could be using an script to intercept the CTRL+C / CTRL+INS hotkeys, grab the id of the active process (in a file or any place that can be accessed by the Java app) and proceed with the clipboard copy. The AutoHotKey part shouldn’t be difficult, don’t know about the Java part.

That’s the answer Get application name from Windows XP cut and paste?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Read More  Import Namespace System.Query

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you