How can to store this link <a href="http://www.web.com">my link</a> in the clipboard to be able to past it in HTML mode (and not source code) in an HTML editor?
Pasting it in an editor should only show the text my link with a clickable link.
Using Tkinter or pywin32 (or others), how to tell the clipboard that it contain html content (and not just raw text)?
Based on the link suggested by @chrki.
You can do this:
HtmlClipboard.pyin C:\Python##\Lib\site-packages\link_as_html.py(I used some of your code in your question):link_as_html.py, and select create a shorcut)Properties, and and add a keyboard shorcut in Shorcut key.That's it. When you have an link in our clipboard, you can just press your keyboard shorcut and you can paste your image directly in the html mode of you editor.
link_as_html.py (Python34). I assume you have your url
http://www.web.comin the clipboard: