skip to navigation
skip to content

Not Logged In

osascript 0.0.4

Python osascript (Mac OS AppleScript) wrapper. Also, provides sudo GUI ;)


pip install osascript


from osascript import osascript, sudo
osascript('tell application "iTunes" to play')
print osascript('return {1,2,3}',"h") # osascript flags
>>> 1, 2, 3
sudo("python install") # GUI if no terminal

osascript(1) OS X Manual Page

File Type Py Version Uploaded on Size
osascript-0.0.4.tar.gz (md5) Source 2012-11-28 2KB
  • Downloads (All Versions):
  • 37 downloads in the last day
  • 230 downloads in the last week
  • 850 downloads in the last month