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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This might be relevant: https://twitter.com/Postbox/status/526800096801726464