Geeky Quick Tips is a series of simple, code-free tips and tactics for doing more with your Mac or iOS device. For more detailed geekery, be sure to checkout the Techie Scheky series.
A while back I shared the way that I use OmniFocus to create tasks with links to a specific email, file or website. Shortly after, I followed up with a way to use Keyboard Maestro to overcome a shortcoming of the Quick Clipper in OmniFocus in order to create tasks with links to specific “notes” in Evernote.
Lately I find myself creating far more tasks from files in nvALT and have wanted a similar solution. Once again, Keyboard Maestro came to the rescue and made it possible to replicate the functionality of the OmniFocus Quick Clipper. Just add the following macro to your Keyboard Maestro library (preferably in a folder that only works with nvALT) and you will be good to go.
The macro will copy any text you have selected, and copy the URL that will bring you back to the file in nvALT. It will then open the Quick Entry box for OmniFocus, paste your link as well as any text you’ve selected into the notes field, and return you right back to the first entry field. If you don’t have any text selected, it will only copy and paste the link. The result looks just like this:

Thanks to Gabe Weatherhead at Macdrifter who, once again, had to reminded me how to handle selected text in Keyboard Maestro.
If you’ve been looking for a better way to create OmniFocus tasks from nvALT, click here to download the macro.
Update: I incorrectly posted a version of the Macro that copied the Notational Velocity link and not the nvALT link. This has been corrected. I’m also having a bit of trouble getting the link to open on my end when clicking it, but LaunchBar seems to be doing the job just fine. For those who prefer clickable links, Gabe over at Macdrifter has you covered.
Update 2: While it’s not as elegant as I’d like, I finally got the macro to function exactly as I wanted. You can download the new version of the macro here. All download links have been changed to reflect this revised version.
Be sure to subscribe for free by Email or RSS to automatically receive future Geeky Quick Tips as well at other geekery from A Better Mess.
