and paste it as markup
so for example
text on a web page displayed as "Documentation"
with a link to https://copyq.readthedocs.io/
could be pasted as
Code: Select all
[[https://copyq.readthedocs.io/|Documentation ]]
When I copy the link and use a clipboard viewer to "Show Content" I can see that the text/plain part of the clipboard contains 'Documentation', the text/html part contains the styled link as html but I can't see how to access these parts programmatically using Autohotkey to allow me to paste the components in the required mark up format.
At the moment I have to copy text, paste it, then copy link and paste that . It would be good to get both in one go.
How do i :
- check that the clipboard contains a link
- access the different parts of the clipboard to extract the URL and link text