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
#!/usr/bin/env Python3 | |
# | |
# by Nathan Grigg http://nathangrigg.com | |
# | |
# Rob Granger | |
# change line #1 to use /usr/bin/env Python3 | |
# change Popen to use UTF8 to fix the binary pipe errors. | |
# p = Popen(['/usr/bin/osascript'],stdin=PIPE,stdout=PIPE,encoding='utf-8') | |