Skip to content

Small python library to compile and execute applescript commands under Mac OS X.

License

Notifications You must be signed in to change notification settings

ohe/python-applescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-applescript 0.1
by Olivier Hervieu <olivier.hervieu@gmail.com>.

The goal of this project is to provide a very small library that is able to 
launch applescript scripts.

This work is based on the perl module MAC::Applescript written by Dan Sugalski
<dan@sidhe.org>, many thanks to him.

The module implements one method called 'launch_script'. This method takes
one parameters : the script as a string.
It returns the output of the executed script as a string.

If the script contains errors, it raises an applescript.AppleScriptError 
exception. See examples directory to see how it works.

This software is licensed by the MIT License (see LICENSE), except for ez_setup.py,
that is a part of setuptools, licenced under ZPL (Zope Public Licence).

Please report all bugs and ask your questions at <olivier.hervieu@gmail.com>.

About

Small python library to compile and execute applescript commands under Mac OS X.

Resources

License

Stars

Watchers

Forks

Packages

No packages published