Differences between revisions 9 and 13 (spanning 4 versions)
Revision 9 as of 2007-07-30 15:57:12
Size: 1705
Editor: adsl-76-234-208-118
Revision 13 as of 2008-11-15 14:00:31
Size: 1838
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
 * ["../Apple Mail"]
 * ["../Audio Hijack Pro"]
 * ["../FileMakerPro"]
 * ["../Growl"]
 * ["../iCal"]
 * ["../iPhoto"]
 * ["../iTerm"]
 * ["../iTunes"]
 * ["../iView MediaPro"]
 * ["../OmniGraffle"]
 * ["../QuarkXPress"]
 * ["../TextEdit"]
 * ["../VoodooPad"]
 * ["../PhotoShop"]
 * ["../Illustrator"]
 * ["../SoundtrackPro"]
 * [[../Apple Mail]]
 * [[../Audio Hijack Pro]]
 * [[../Camino]]
 * [[../FileMakerPro]]
 * [[../Firefox]]
 * [[../Growl]]
 * [[../Illustrator]]
 * [[../InDesign]]
 * [[../iCal]]
 * [[../iPhoto]]
 * [[../iTerm]]
 * [[../iTunes]]
 * [[../iView MediaPro]]
 * [[../Microsoft Powerpoint]]
 * [[../Microsoft Word]]
 * [[../OmniGraffle]]
 * [[../PhotoShop]]
 * [[../QuarkXPress]]
 * [[../Safari]]
 * [[../SoundtrackPro]]
 * [[../TextEdit]]
 * [[../VoodooPad]]

What is Appscript?

Appscript is a high-level, user-friendly MacPython-to-Apple Event Manager bridge that allows you to control scriptable Mac OS X applications using ordinary Python scripts. Appscript makes MacPython a serious alternative to Apple's own ../AppleScript language for automating your Mac.

For example, to get the value of the first paragraph of the topmost document in ../TextEdit:


This is equivalent to the /AppleScript statement:

get paragraph 1 of document 1 of application "TextEdit"

Appscript builds upon lower-level Python packages (aem, osaterminology) to provide:

  1. an Apple event-based RPC mechanism for sending commands to applications

  2. a mechanism for converting data between common Python and Apple event types
  3. a simple embedded query language for constructing references to an application's object model

  4. a mechanism that uses application-defined terminology to present these references in human-readable form
  5. an integrated help system for exploring application terminology information
  6. a clean, object oriented-like syntax for ease of use.


Application scripting notes

Pages containing additional information on scripting individual applications:

MacPython/AppscriptModule (last edited 2008-11-15 14:00:31 by localhost)

Unable to edit the page? See the FrontPage for instructions.