Skip to main content

Control AppleScriptable applications from Python.

Project description

Appscript is a high-level, user-friendly Apple event bridge that allows you to control AppleScriptable Mac OS X applications from Python.

Requirements

Appscript supports Python 2.3 to 2.7, and Python 3.1 and later.

Appscript requires Mac OS X 10.4 or later.

Installation

Appscript is packaged using the standard Python Distribution Utilities (a.k.a. Distutils). To install appscript, cd to the appscript-1.0.0 directory and run:

python setup.py install

or:

python3 setup.py install

Setuptools/Distribute (available from <http://cheeseshop.python.org/pypi>) will be used if installed, otherwise setup.py will revert to Distutils.

Building appscript from source requires the gcc compiler supplied with Apple’s Xcode IDE. Xcode can be obtained from Mac OS X installer disks or <http://developer.apple.com>.

Notes

  • Python 2.x documentation and sample scripts can be found in the appscript_2x/doc and appscript_2x/sample directories.

  • Python 3.x documentation and sample scripts can be found in the appscript_3x/doc and appscript_3x/sample directories.

  • Developer tools for exporting application dictionaries (ASDictionary) and converting application commands from AppleScript to appscript syntax (ASTranslate) are available separately:

    http://appscript.sourceforge.net/tools.html

    ASDictionary 0.13.1 or later is also required to use appscript’s built-in help() method. If ASDictionary isn’t installed, interactive help won’t be available but appscript will continue to operate as normal.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

appscript-1.0.1.tar.gz (411.3 kB view hashes)

Uploaded Source

Built Distributions

appscript-1.0.1-cp37-cp37m-macosx_10_7_x86_64.whl (83.7 kB view hashes)

Uploaded CPython 3.7m macOS 10.7+ x86-64

appscript-1.0.1-cp36-cp36m-macosx_10_7_x86_64.whl (84.6 kB view hashes)

Uploaded CPython 3.6m macOS 10.7+ x86-64

appscript-1.0.1-cp35-cp35m-macosx_10_6_x86_64.whl (83.8 kB view hashes)

Uploaded CPython 3.5m macOS 10.6+ x86-64

appscript-1.0.1-cp34-cp34m-macosx_10_6_x86_64.whl (84.5 kB view hashes)

Uploaded CPython 3.4m macOS 10.6+ x86-64

appscript-1.0.1-cp27-cp27m-macosx_10_7_x86_64.whl (84.4 kB view hashes)

Uploaded CPython 2.7m macOS 10.7+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page