Created
April 3, 2014 03:02
-
-
Save star-szr/9947577 to your computer and use it in GitHub Desktop.
AppleScript application to open x-dispatch:// links in Postbox on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on open location messageUri | |
(* | |
Extract message ID from the message:// URI. Where [MESSAGEID] is the message ID, | |
the Dispatch OS X URL Helper sets up URLs for Mail.app in the following format: | |
message://%3c[MESSAGEID]%3e | |
*) | |
set messageId to text 14 thru -4 of messageUri | |
do shell script "open x-postbox-message://" & messageId | |
end open location |
I don't think I missed anything in the instructions but someone on Twitter seems to be having a similar issue. I'll update here if I find anything else but this is still working for me.
This might be relevant: https://twitter.com/Postbox/status/526800096801726464
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got this installed, and clicking on x-dispatch URLs in OmniFocus does open Postbox. It never actually loads the relevant message though.
Any pointers to getting this going?