skip to navigation
skip to content

Not Logged In

osascript 0.0.4

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

Installing

pip install osascript

Usage

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 setup.py 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):
  • 11 downloads in the last day
  • 136 downloads in the last week
  • 591 downloads in the last month