Jump To:
Leopard Reference Library: Scripting & Automation
The Scripting Bridge framework allows languages that can access the Objective-C runtime to control Cocoa and Carbon applications that include AppleScript support. Using Scripting Bridge in conjunction with Cocoa, Ruby (through RubyCocoa), or Python (through PyObjC), developers can create applications that can take advantage of scriptable features in the Mac OS, Apple applications, and other applications.

Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Resource Type
Sort by
Date
Ruby and Python Programming Topics for Mac OS X (HTML) (PDF)
Describes Ruby and Python on Mac OS X, and especially the bridges between them and Objective-C and OSA (AppleScript).
Guides 2007-10-31
SBSendEmail (HTML) (DMG) (ZIP)
Using the Scripting Bridge to tell Mail.app to send an email message with an optional attachment.
Sample Code 2008-02-28
SBSetFinderComment (HTML) (DMG) (ZIP)
Set/Get Finder Comments using Scripting Bridge
Sample Code 2007-12-04
SBSystemPrefs (HTML) (DMG) (ZIP)
Shows how to use Scripting Bridge to display a preference pane in System Preferences.
Sample Code 2008-10-13
Scripting Bridge Framework Reference (HTML) (PDF)
Describes the interface that allows Cocoa applications to communicate with scriptable applications.
Reference 2007-05-29
Scripting Bridge Release Note (HTML)
A release note that describes the classes and techniques used to control scriptable applications from Objective-C code.
Release Notes 2007-10-31
ScriptingBridgeFinder (HTML) (DMG) (ZIP)
Using the Finder with Scripting Bridge
Sample Code 2007-12-13
ScriptingBridgeiCal (HTML) (DMG) (ZIP)
Adding/updating events in iCal using Scripting Bridge.
Sample Code 2007-12-13