MACRO: Set Clipboard to Markdown Link of FrontMost Browser [Wiki Example]
~~~ VER: 1.0 2019-08-25 ~~~
Requires: KM 8.2.4+ macOS 10.11 (El Capitan)+
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))
DOWNLOAD Macro File:
Set Clipboard to Markdown Link of FrontMost Browser [Wiki Example].kmmacros
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.
- Set the System Clipboard to a Markdown Link of the Current Page of the FrontMost Web Browser
- Must be Safari, Google Chrome, or a Chrome-based Browser
HOW TO USE
- First, make sure you have followed instructions in the _ Macro Setup _ below.
- Open your web browser to any page
- Trigger this macro.
Make These Changes to this Macro
- Assign a Trigger to this macro.
- Move this macro to a Macro Group that is only Active when you need this Macro.
- ENABLE this Macro, and the Macro Group it is in.
Hello, is it possible to combine these two elements into one? For example take the link and apply it as a Hyperlink to the text and then remove the visible link now that its embedded as a hyperlink?
Welcome to the forum!
I'm not clear on what you mean.
Jim's macro creates a markdown link. Period.
Are you wanting to create a Rich-Text-Link?
A rich-text-link sounds like what I’m looking for.
I did find this: Copy and paste webpage URL and title
…which does seem to work well for my purposes. It has a few extras I wish it didn’t have (I’m not advanced with this software or it’s coding) but it works for the most part for my purpose I suppose.
Okay, look here:
Set Clipboard to RTF Hyperlink & Plain Text MD Link
You can also search the forum for: “rich text link”.
I’ll give that a try. Thanks!
That somewhat works, however I would like it to automatically grab the title and url and merge them together without a pop up window so I can just paste the Hyperlink into a cell in OneNote. Ill have to modify it somehow. Thank you.