Alfred URI Handler

An Alfred 2 Workflow


Short Description

Alfred URI Handler installer.

Last Updated

23 Sep 2014

Compatibility

Yosemite
(10.10)
Mavericks
(10.9)
Mountain Lion
(10.8)
Lion
(10.7)
Snow Leopard
(10.6)
Yes Yes Yes Yes Yes
 

Version

1.1
 

Bundle ID

com.customct.AlfredURIHandler
 

Author

Categories

Applications

Tags

Alfred URI Handler

GitHub: https://github.com/raguay/MyAlfred/blob/master/AlfredURIHandler.alfredwo...

This workflow has one command "au:install". Once you run it, a URI handler for Alfred will be installed. This is used to trigger external triggers in any workflow. The format is:

alfreduri://com.apple.AppleScript.AlfredURIhandler?wf=<workflow Bundle ID>&arg=<arguments>&ext=<external trigger name>

The arguments should be URI encoded (ie: no spaces, but %20 instead). If you update the workflow, you have to re-apply the handler. Also, do not delete the workflow or the functionality will be removed.

I use it to make action links in FoldingText to trigger actions in Alfred.

There is also a "search=<search args>" to open the Alfred prompt with a query. It now works. If you already downloaded and installed the handler, please do it again.