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

Sort by
Title
Sort by
Topic
Sorted by
Resource Type
Sort by
Date
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
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
SBSetFinderComment (HTML) (DMG) (ZIP)
Set/Get Finder Comments using Scripting Bridge
AppleScript, Scripting Bridges Sample Code 2007-12-04
Apply Firmware Password (HTML) (DMG) (ZIP)
Demonstrates how to create an Automator Action for System Image Utility.
Automator, System Administration Sample Code 2007-06-12
AutomatorHandsOn (HTML) (DMG) (ZIP)
Illustrates several methods for building Automator Actions
Automator Sample Code 2007-06-12
AutoSample (HTML) (DMG) (ZIP)
How to run and display Automator workflows in your application.
Automator, Cocoa Sample Code 2007-05-23
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
SampleCMPlugIn (HTML) (DMG) (ZIP)
A contextual menu plugIn for Mac OS X.
Carbon, Tools Sample Code 2006-10-09
AppleScriptRunner (HTML) (DMG) (ZIP)
How to send mail and execute other AppleScripts from a Carbon application.
Carbon Sample Code 2006-07-31
HelloStudio (HTML) (DMG) (ZIP)
This is a Hello, world application built using AppleScript Studio.
Cocoa, Tools Sample Code 2006-07-28
Processes (HTML) (DMG) (ZIP)
This process management application uses most of AppleScript Studio's significant features.
Cocoa, Tools Sample Code 2006-07-28
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
AttachAScript (HTML) (DMG) (ZIP)
Illustrates how you can extend any Cocoa application by adding some AppleScripts to it.
Cocoa Sample Code 2006-07-27
iTunesController (HTML) (DMG) (ZIP)
iTunesController allows you to control iTunes without having to bring it to the foreground.
Carbon Sample Code 2006-02-23
Duplicate Finder Items (HTML) (DMG) (ZIP)
Shows how to build an Automator action targeting Finder using AppleScript.
AppleScript, Automator Sample Code 2005-06-06
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
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
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
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
Carbon Sample Code 2003-10-27
EmbededAppleScripts (HTML) (DMG) (ZIP)
Extending the functionality of your application by adding precompiled AppleScripts.
Carbon Sample Code 2003-09-04
DeskPictAppDockMenu (HTML) (DMG) (ZIP)
How to add a dynamic Dock menu to your Cocoa application
Cocoa Sample Code 2003-01-14
MoreAppleEvents (HTML) (DMG) (ZIP)
Provides routines that assist with the creation and sending of Apple events and object descriptors.
AppleScript, Carbon, Tools Sample Code 2003-01-14
MoreOSL (HTML) (DMG) (ZIP)
C library for implementing AppleScript support within your application.
Carbon Sample Code 2003-01-14
ODOC (HTML) (DMG) (ZIP)
Illustrates how to send an open document ('odoc') Apple event to another application process.
AppleScript, Carbon, Tools Sample Code 2003-01-14
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
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
do shell script in AppleScript (HTML) (日本語 HTML)
TN2065: Frequently Asked Questions about the AppleScript "do shell script" command.
AppleScript Technical Notes 2006-03-23
Scripting Interface Guidelines (HTML)
TN2106: Directions for providing a clean and consistent scripting interface for your application.
Carbon, Cocoa Technical Notes 2004-03-01
The Enhanced Print Apple Event (HTML)
TN2082: Describes an enhancement to the print Apple event that gives developers more control over scripted printing.
Carbon, Cocoa Technical Notes 2003-12-09
AEBuild*, AEPrint* and Friends (HTML) (日本語 HTML)
TN2045: Describes the AEBuild* and AEPrint* family of routines.
Carbon Technical Notes 2002-03-21
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
How do I access files contained in my AppleScript Studio application's main bundle? (HTML)
QA1493: Explains how to access files stored within an AppleScript Studio application.
AppleScript Technical Q&As 2007-02-05
Loading Scripting Additions in Mac OS X (HTML)
QA1070: Explains how to load scripting additions so you can call them using Apple events.
AppleScript, Carbon Technical Q&As 2005-05-06
Calling an AppleScript and providing parameters from an Application (HTML) (日本語 HTML)
QA1111: Explains calling and providing parameter values to an AppleScript event handler from an application written in C.
Carbon, Cocoa Technical Q&As 2002-03-13
Calling AppleScript from an Application (HTML)
QA1026: Describes how to call an AppleScript from an application written in C.
AppleScript, Carbon, Cocoa, Tools Technical Q&As 2001-04-10