https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/osascript.1.html