Added AppleScript support
Merge pull request #3 from mattwelch/master

Added AppleScript support