How can I open application URLs in Terminal or Alfred?
My Problem:
I use Airmail2 as default mail client as well as OmniFocus 2 to organize my work. Airmail2 allows to copy application URLs via EDIT
→Copy Message Link
, which yields a link like airmail://message?mail=myAccount&messageid=etPan.55ba060a...
.
When I paste this link in the notes section of a task in OmniFocus, it gets automatically converted into a clickable link that works as expected. Other programs, such as Evernote, will not recognize it as URL. It would be really handy to access these links even outside of OmniFocus.
How can I open these application URLs besides pasting it into an OmniFocus task note section and click it? I would prefer a Terminal command or a script, which I can include in Alfred. The open
command of the Terminal does not work unfortunately.
open -a Safari URL
? It'll open the URL in Safari. – user14492 Jul 30 '15 at 14:53open <url>
actually works when using BASH. I'm on ZSH, which seems to have a problem with the URL format. I will look into it. – Paul Klemm Jul 31 '15 at 10:47