Differences between revisions 2 and 3
Revision 2 as of 2007-03-23 00:57:02
Size: 1621
Editor: c-24-6-66-90
Revision 3 as of 2007-03-23 12:52:41
Size: 351
Editor: 196-11-241-194
Comment: shatan.com
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= 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
 1. a mechanism for converting data between common Python and Apple event types
 1. a simple ''embedded query language'' for constructing references to an application's object model
 1. a mechanism that uses application-defined terminology to present these references in human-readable form
 1. an integrated help system for exploring application terminology information
 1. a clean, ''object oriented-like syntax'' for ease of use.
 * http://appscript.sourceforge.net/
= Application scripting notes =
Pages containing additional information on scripting individual applications:
 * ["/Apple Mail"]
 * ["/FileMakerPro"]
 * ["/Growl"]
 * ["/iCal"]
 * ["/iPhoto"]
 * ["/iTerm"]
 * ["/iTunes"]
 * ["/iView MediaPro"]
 * ["/OmniGraffle"]
 * ["/QuarkXPress"]
 * ["/TextEdit"]
 * ["/VoodooPad"]
 * ["/PhotoShop"]
 * ["/SoundtrackPro"]
<a href="http://playing-craps.hutwistina.com">playing craps</a> <br />
<a href="http://download-craps.hutwistina.com">download craps</a> <br />
<a href="http://craps-dice.hutwistina.com">craps dice</a> <br />
<a href="http://craps-system.hutwistina.com">craps system</a> <br />
<a href="http://craps-tip.hutwistina.com">craps tip</a> <br />

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

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