Reputation: 163
When you copy text from a webpage in firefox (a non microsoft product) into OneNote it adds the url of the webpage along with the copied text as "Pasted from" as in the following example:
Apache OpenOffice is an open-source office productivity software suite
Pasted from <http://en.wikipedia.org/wiki/Openoffice>
How OneNote access the url info of the copied text from a non microsoft app. How can I access similar information programmatically in my apps using c++/C# or other technologies? Is there some api to access additional information from system clipboard like url, source application, source file etc?
Upvotes: 2
Views: 639
Reputation: 45172
As explained in the documentation for the HTML clipboard format, Web browsers can provide an optional SourceURL
to specify where the HTML came from.
Upvotes: 2