SCRIPT: Create & Paste Rich Text Hyperlink for any URL Protocol
The below 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 released version, so there could still be some bugs. If you find any, please report them here.
It was developed and tested in Yosemite (10.10.5).
If any of you Applescript gurus have any suggestions for improvement, please post. I’m always looking for improvements and better ways of doing things. I appreciate all ideas.
EDIT: Revised on Mon, Nov 16, 2015 – Ver 1.0.1
– remove date variable not needed.
EDIT: 2017-10-31 14:24 GMT-0500
The original script block I had below has become corrupted somehow.
IAC, I am now maintaining this script in my GitHub Gist:
Create Rich Text Hyperlink with Custom Protocol from Selected Text