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 details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded CPython 3.7mmacOS 10.7+ x86-64

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

Uploaded CPython 3.6mmacOS 10.7+ x86-64

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

Uploaded CPython 3.5mmacOS 10.6+ x86-64

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

Uploaded CPython 3.4mmacOS 10.6+ x86-64

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

Uploaded CPython 2.7mmacOS 10.7+ x86-64

File details

Details for the file appscript-1.0.1.tar.gz.

File metadata

  • Download URL: appscript-1.0.1.tar.gz
  • Upload date:
  • Size: 411.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for appscript-1.0.1.tar.gz
Algorithm Hash digest
SHA256 24eae98bb50bd6788be9e7ce03cea1187788d63e70712eedcf186dc1b9fb6578
MD5 6447b3bef966613bb5ddaedfe32c4558
BLAKE2b-256 350b0ad06b376b2119c6c02a6d214070c8528081ed868bf82853d4758bf942eb

See more details on using hashes here.

File details

Details for the file appscript-1.0.1-cp37-cp37m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: appscript-1.0.1-cp37-cp37m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 83.7 kB
  • Tags: CPython 3.7m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for appscript-1.0.1-cp37-cp37m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 3a2d935275151f1bfe2b92c3c5263f4b3d45cae1ff242c45ade39a5aef396a92
MD5 42f10390d2413da8745cd31257e366fa
BLAKE2b-256 74340caa7591e87ce7f57f9942cd60261e979e73c3af47b954005fc025b32a04

See more details on using hashes here.

File details

Details for the file appscript-1.0.1-cp36-cp36m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: appscript-1.0.1-cp36-cp36m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 84.6 kB
  • Tags: CPython 3.6m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for appscript-1.0.1-cp36-cp36m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b72ebcf5a76f87dae46adf873a1899422c9bd7510c47a22172152af2aae58029
MD5 3ac30c61f78c0c86ae7f93ab31cb5813
BLAKE2b-256 2b42ea8f952246e8ed65790a8f436182ca98913e5c31d528c67e386df10ff653

See more details on using hashes here.

File details

Details for the file appscript-1.0.1-cp35-cp35m-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: appscript-1.0.1-cp35-cp35m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 83.8 kB
  • Tags: CPython 3.5m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for appscript-1.0.1-cp35-cp35m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 e8213b182224158f4095a24ea7b2e7bc98547d3f129980afd2f2028c8a068024
MD5 cc04c1ecb1cd91f4e70b8f49f2083eff
BLAKE2b-256 9d452951a4d86cd8929624c761f621ca890d5f786eae49bbfb46e043f1cd90f7

See more details on using hashes here.

File details

Details for the file appscript-1.0.1-cp34-cp34m-macosx_10_6_x86_64.whl.

File metadata

  • Download URL: appscript-1.0.1-cp34-cp34m-macosx_10_6_x86_64.whl
  • Upload date:
  • Size: 84.5 kB
  • Tags: CPython 3.4m, macOS 10.6+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for appscript-1.0.1-cp34-cp34m-macosx_10_6_x86_64.whl
Algorithm Hash digest
SHA256 f3f95bfae422b66199930b4d5482734ee55610156fb8f28a5bcae31b34bc9c0c
MD5 5ede36813234e47392057f26608b69c2
BLAKE2b-256 33ac0211e6824801d62e8036bc5b9b5292cfe316898e658c1df56cf5ed36467d

See more details on using hashes here.

File details

Details for the file appscript-1.0.1-cp27-cp27m-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: appscript-1.0.1-cp27-cp27m-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 84.4 kB
  • Tags: CPython 2.7m, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.7.2

File hashes

Hashes for appscript-1.0.1-cp27-cp27m-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 c2eebf86d105aac3d8d8a6c7d545c1cf4fdecf943ededf174223e6eeb79ed3a4
MD5 7030fc6dbb0c9c8413763223a2f49de1
BLAKE2b-256 685331262bf817881753ea032a79d71d22e1f6cf431ebbafc0d446b6a0ff59e9

See more details on using hashes here.

Supported by

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