Jump To:
Leopard Reference Library
AppleScript, JavaScript, Perl, PHP, Ruby, Python, various shell script dialects, and other popular scripting languages are available in Mac OS X. Developers can make their applications scriptable, enabling automation of repetitive tasks through AppleScript scripts. To make automation even easier, the Automator application offers a simple drag-and-drop interface for users to create sophisticated workflows involving Mac OS X system services and Apple applications. Developers and script writers can also create their own Automator actions, allowing applications, shell scripts, and AppleScript scripts to be called from within Automator workflows.

Learning paths for scripters, system administrators, and application developers.   Essential information about using and supporting scripts and automation.   C and Objective-C API references, organized by framework.
Document Descriptions
On Off
Display

Sorted by
Title
Sort by
Topic
Sort by
Resource Type
Sort by
Date
Safari User Guide for Web Developers (HTML) (PDF)
Describes the developer tools built into Safari for analyzing, testing, and debugging HTML, JavaScript, style sheets, and DOM structure.
JavaScript Guides 2009-01-06
SampleCMPlugIn (HTML) (DMG) (ZIP)
A contextual menu plugIn for Mac OS X.
Carbon, Tools Sample Code 2006-10-09
SBSendEmail (HTML) (DMG) (ZIP)
Using the Scripting Bridge to tell Mail.app to send an email message with an optional attachment.
Internet & Web, Scripting Bridges Sample Code 2008-02-28
SBSetFinderComment (HTML) (DMG) (ZIP)
Set/Get Finder Comments using Scripting Bridge
AppleScript, Scripting Bridges Sample Code 2007-12-04
SBSystemPrefs (HTML) (DMG) (ZIP)
Shows how to use Scripting Bridge to display a preference pane in System Preferences.
AppleScript, Cocoa, Scripting Bridges Sample Code 2008-10-13
Scripting Additions for Mac OS X (HTML) (日本語 HTML)
TN1164: Talks about how to create AppleScript scripting additions (OSAX) for Mac OS X.
Carbon Technical Notes 2008-04-24
Scripting Bridge Framework Reference (HTML) (PDF)
Describes the interface that allows Cocoa applications to communicate with scriptable applications.
Scripting Bridges Reference 2007-05-29
Scripting Bridge Programming Guide for Cocoa (HTML) (PDF)
Describes the Scripting Bridge technology, which bridges OSA-compliant applications to Objective-C, and explains how to use it in Cocoa programs.
Cocoa Guides 2008-03-11
Scripting Bridge Release Note (HTML)
A release note that describes the classes and techniques used to control scriptable applications from Objective-C code.
Cocoa, Scripting Bridges Release Notes 2007-10-31
Scripting Interface Guidelines (HTML)
TN2106: Directions for providing a clean and consistent scripting interface for your application.
Carbon, Cocoa Technical Notes 2004-03-01
Scripting the COM/ActiveX Control in QuickTime 7 for Windows (HTML)
Learn to build standalone Windows applications that use QuickTime, without needing to master the API.
QuickTime Articles 2005-09-12
ScriptingBridgeFinder (HTML) (DMG) (ZIP)
Using the Finder with Scripting Bridge
AppleScript, Cocoa, Scripting Bridges Sample Code 2007-12-13
ScriptingBridgeiCal (HTML) (DMG) (ZIP)
Adding/updating events in iCal using Scripting Bridge.
AppleScript, Scripting Bridges Sample Code 2007-12-13
ScriptingDefinitions (HTML) (DMG) (ZIP)
Provides a starting sdef (scripting definition) and a completed one for the Sketch example code.
Carbon, Cocoa Sample Code 2008-05-30
ScriptView (HTML) (DMG) (ZIP)
Shows how to build a script editor application with a built-in script database using AppleScript Studio.
AppleScript, Cocoa, Tools Sample Code 2005-06-01
Shell Scripting Primer (HTML) (PDF)
A guided tour of (Bourne) shell scripting, including control structures, numerical computation, regular expressions, subroutines, and error handling.
General, Other Scripting Languages, System Administration, Tools Guides 2009-04-08
SimpleCarbonAppleScript (HTML) (DMG) (ZIP)
A simple example illustrating how to add readable and writable AppleScript properties to Carbon Application.
Carbon Sample Code 2007-03-01
SimpleScripting (HTML) (DMG) (ZIP)
Illustrates the minimal steps required to make an application scriptable.
Cocoa Sample Code 2008-05-30
SimpleScriptingObjects (HTML) (DMG) (ZIP)
How to add scriptable objects to an AppleScriptable application.
Cocoa Sample Code 2008-06-02
SimpleScriptingProperties (HTML) (DMG) (ZIP)
How to add some properties to the terminology provided by an AppleScriptable application.
Cocoa Sample Code 2008-06-02
SimpleScriptingVerbs (HTML) (DMG) (ZIP)
How to add verbs to the terminology provided by an AppleScriptable application.
Cocoa Sample Code 2008-06-02
Sketch-112 (HTML) (DMG) (ZIP)
Sketch is a Scriptable Graphics application. This sample adds certain Scriptable functionality to Sketch, as an example for use in WWDC 2005 Session 112.
Cocoa Sample Code 2005-06-06
SMIL Scripting Guide for QuickTime (HTML) (PDF)
Defines support for using SMIL to communicate with the QuickTime browser plug-in, ActiveX control, and QuickTime Player.
Internet & Web, QuickTime Guides 2005-06-04
System Startup Programming Topics (HTML) (PDF)
Explains the boot process used to initialize the Mac OS X operating system.
System Administration Guides 2008-11-19
TextEditPlus (HTML) (DMG) (ZIP)
This application is a version of TextEdit enhanced with additional document properties using AppleScript Studio.
Cocoa, Tools Sample Code 2006-07-28
Tiger Developer Overview Series: Developing Dashboard Widgets (HTML)
Learn how to create powerful mini-applications quickly and easily.
JavaScript Articles 2004-12-07
Transforming a Shell Script into an Automator Action (HTML)
Custom shell script actions let you quickly turn shell, Perl, or Python scripts into Automator actions.
Automator Articles 2007-06-01
UpdateXcodeSubprojects (HTML) (DMG) (ZIP)
Updates all subprojects of an Xcode project to Xcode 2.1 format. Illustrates scripting techniques.
Tools Sample Code 2005-06-06
Using AppleScript Scripts in Cocoa Applications (HTML)
TN2084: Explains how to work with AppleScript scripts in your Cocoa application.
Cocoa Technical Notes 2006-09-19
Using Automator to Expand the Market for Your Software (HTML)
Learn how building Automator actions and workflows can create new sales opportunities.
Automator Articles 2005-07-19
Using PyObjC for Developing Cocoa Applications with Python (HTML)
Learn how to build a sample Cocoa app using the Cocoa-Python bridge PyOjbC.
Cocoa, Other Scripting Languages, Tools Articles 2005-08-15
Using Python with Quartz 2D on Mac OS X (HTML)
New article on using the Python bindings in Mac OS X to access the Quartz 2D graphics API.
General, Other Scripting Languages Articles 2007-07-10
Using Ruby on Rails for Web Development on Mac OS X (HTML)
Learn why Mac OS X is the preferred platform for Ruby on Rails.
Internet & Web, Other Scripting Languages Articles 2007-06-06
WebKit DOM Programming Topics (HTML) (PDF)
Describes how to use JavaScript in web content and WebKit-based applications.
General, Internet & Web, JavaScript Guides 2008-10-15
Why is my Ruby on Rails application with FastCGI generating "'load error /etc/irbrc" errors? (HTML)
QA1494: Describes how to resolve an error encountered hosting Ruby on Rails applications on Mac OS X 10.5.
Internet & Web, System Administration Technical Q&As 2007-11-28
XML-RPC and SOAP Programming Guide (HTML) (PDF)
Explains how to make remote procedure calls from applications or from AppleScript scripts.
AppleScript, Carbon, Cocoa, Internet & Web Guides 2005-03-03