Level 5* JMichaelTX 4,117 Posted November 13, 2015 Level 5* Share Posted November 13, 2015 I have written an AppleScript to create & paste a hyperlink using any protocol into Evernote. See SCRIPT: Create & Paste Rich Text Hyperlink for any URL Protocol Ver 1.0.1 This script is now maintained in my GitHub Gist: https://gist.github.com/JMichaelTX This script was created primarily for Evernote Mac users who need to create a hyperlink for non-standard protocols. EN Mac only allows "http://" and "file://", while the Mac OSX will support any URL Scheme/Protocol that has a supporting/responding app installed. Note that this script creates the hyperlink that is stored in EN Mac Note (or any other rich text app), even if no app has been installed to support the protocol. This is the first version, and I have given it only limited testing under Yosemite 10.10.5. Although I'm reusing a lot of existing code, there could be, and probably are, some bugs. So proceed carefully, and if you find any bugs please post here, or PM me. It should work very much like the built-in "Add Link" (CMD-K) function. Just select the text you want to add a link to, and run the script. I use FastScripts to assign a shortcut key. The one downside is that when the created link is pasted back into your Note it will overwrite the formatting of the selected text. But at the top of the script you can set the font & size you prefer. Default is Verdana 14pt. Installation and usage instructions are in the header comments of the script. If you decide to try the script, please let me know how it goes, and if you find any bugs, or have any suggestions for improvements. Link to comment
mp537 4 Posted August 2, 2016 Share Posted August 2, 2016 Thanks...this was just what I was looking for in trying to get a script to put an link inside of a note on OSX. Thanks again! Link to comment
Level 5* JMichaelTX 4,117 Posted August 3, 2016 Author Level 5* Share Posted August 3, 2016 11 hours ago, mp537 said: Thanks...this was just what I was looking for Glad to help. Please note that the script is now maintained on my GitHub Gist:Create Rich Text Hyperlink with Custom Protocol from Selected Text Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.