Jump To:
Sample Code: Cocoa
Cocoa applications can take advantage of automated support supplied by the Foundation and Application Kit frameworks to make their applications scriptable. A scriptable application is one that is capable of performing operations or returning data in response to AppleScript scripts. Cocoa applications can also control other scriptable applications.

View all Scripting & Automation Sample Code.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Date
SBSendEmail (HTML) (DMG) (ZIP)
Using the Scripting Bridge to tell Mail.app to send an email message with an optional attachment.
2008-02-28
ScriptingBridgeiCal (HTML) (DMG) (ZIP)
Adding/updating events in iCal using Scripting Bridge.
2007-12-13
SBSetFinderComment (HTML) (DMG) (ZIP)
Set/Get Finder Comments using Scripting Bridge
2007-12-04
AutoSample (HTML) (DMG) (ZIP)
How to run and display Automator workflows in your application.
2007-05-23