Member Login Log In | Not a Member? Contact ADC
Jump To:
Reference Library
AppleScript is Apple's native scripting technology. It enables users to directly control applications and parts of the Mac OS by creating English-like scripts. Developers can make applications scriptable--that is, capable of performing operations or returning data in response to Apple events. Applications can also execute scripts and send individual Apple events to take advantage of features of other applications.

A guided introduction and learning path for developers new to AppleScript.   Essential information for developers working with AppleScript.   C and Objective-C API references, organized by framework.
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Resource Type
Sort by
Date
Accessibility Overview (HTML) (PDF)
Explains how to use the accessibility features built into Mac OS X.
Accessibility Guides 2007-02-08
Automator Framework Reference (HTML) (PDF)
Describes the Objective-C API for creating and working with actions used by the Automator application.
Apple Applications Reference 2006-05-23
Automator Programming Guide (HTML) (PDF)
Describes the concepts and tasks for developing actions, which are bundles loaded by the Automator application.
Apple Applications Guides 2006-09-05
Automator Release Notes (HTML)
Apple Applications Release Note 2005-06-06
AEBuild*, AEPrint* and Friends (HTML) (PDF) (日本語 HTML)
TN2045: Describes the AEBuild* and AEPrint* family of routines.
Carbon Technical Note 2002-03-21
Apple Event Manager Reference (HTML) (PDF)
Describes the C API for interapplication communication using Apple events.
Carbon Reference 2006-09-05
Apple Events Programming Guide (HTML) (PDF)
Provides conceptual information and programming examples for working with Apple events.
Carbon Guides 2006-04-04
AppleEvent Manager Release Notes (HTML)
Summarizes new features and changes for Mac OS X version 10.3.
Carbon Release Note 2004-12-02
AppleScript Language Guide for AppleScript 1.3.7 (HTML) (PDF)
Defines the AppleScript scripting language. Includes many brief sample scripts.
Carbon Guides 1999-05-17
AppleScript Overview (HTML) (PDF)
Introduces the technology for writing scripts to control applications. Useful for scripters and application developers.
Carbon Guides 2006-03-08
AppleScript Studio Programming Guide (HTML) (PDF)
Explains how to create script-driven applications with complex user interfaces based on Cocoa UI classes. Includes tutorials.
Carbon Guides 2006-04-04
AppleScript Studio Terminology Reference (HTML) (PDF)
Describes the scripting terminology for AppleScript Studio, through version 1.4.
Carbon Reference 2006-09-05
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 Technical Q&A 2002-03-13
Calling AppleScript from an Application (HTML)
QA1026: Describes how to call an AppleScript from an application written in C.
Carbon Technical Q&A 2001-04-10
The Enhanced Print Apple Event (HTML)
TN2082: Describes an enhancement to the print Apple event that gives developers more control over scripted printing.
Carbon Technical Note 2003-12-09
Native Scripting Additions (HTML) (PDF) (日本語 HTML)
TN1164: Talks about how to create AppleScript scripting additions (OSAX) for Mac OS X.
Carbon Technical Note 2004-04-26
Open Scripting Architecture Reference (HTML) (PDF)
Describes the API for compiling and executing scripts in applications and writing scripting components.
Carbon Reference 2005-07-07
XML-RPC and SOAP Programming Guide (HTML) (PDF)
Explains how to make remote procedure calls from applications or from AppleScript scripts.
Carbon Guides 2005-03-03
AppleScript Language Guide for AppleScript 1.3.7 (HTML) (PDF)
Defines the AppleScript scripting language. Includes many brief sample scripts.
Cocoa Guides 1999-05-17
AppleScript Overview (HTML) (PDF)
Introduces the technology for writing scripts to control applications. Useful for scripters and application developers.
Cocoa Guides 2006-03-08
AppleScript Studio Programming Guide (HTML) (PDF)
Explains how to create script-driven applications with complex user interfaces based on Cocoa UI classes. Includes tutorials.
Cocoa Guides 2006-04-04
AppleScript Studio Terminology Reference (HTML) (PDF)
Describes the scripting terminology for AppleScript Studio, through version 1.4.
Cocoa Reference 2006-09-05
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.
Cocoa Technical Q&A 2002-03-13
Calling AppleScript from an Application (HTML)
QA1026: Describes how to call an AppleScript from an application written in C.
Cocoa Technical Q&A 2001-04-10
Cocoa and AppleScript: From Top to Bottom (HTML)
Learn how to activate AppleScript in your application so that users can create scripts.
Cocoa Featured Articles 2004-08-23
Cocoa Scripting Guide (HTML) (PDF)
Explains how to create scriptable Cocoa applications that use the scripting definition (sdef) format.
Cocoa Guides 2006-04-04
Cocoa Scripting Release Notes (HTML)
Describes highlights of new or changed features of AppleScript support in Cocoa in Mac OS X version 10.2.
Cocoa Release Note
The Enhanced Print Apple Event (HTML)
TN2082: Describes an enhancement to the print Apple event that gives developers more control over scripted printing.
Cocoa Technical Note 2003-12-09
Foundation Release Notes (HTML)
Cocoa Release Note 2005-04-29
NSAppleEventDescriptor Class Reference (HTML) (PDF)
Describes the class used to access the basic data structures in an Apple event.
Cocoa Reference 2006-11-07
NSAppleEventManager Class Reference (HTML) (PDF)
Describes the class used to work with Apple event handler routines and to suspend and resume event handling.
Cocoa Reference 2006-05-23
NSAppleScript Application Kit Additions Reference (HTML) (PDF)
Describes additions to the NSAppleScript class to provide syntax-highlighted script source.
Cocoa Reference 2006-05-23
NSAppleScript Class Reference (HTML) (PDF)
Describes the class that provides the ability to load, compile, and execute scripts.
Cocoa Reference 2006-05-23
NSCloneCommand Class Reference (HTML) (PDF)
Describes the class used to clone a scriptable object or objects.
Cocoa Reference 2006-05-23
NSCloseCommand Class Reference (HTML) (PDF)
Describes the class used to close a scriptable object or objects--typically a document or window.
Cocoa Reference 2006-06-28
NSComparisonMethods Protocol Reference (HTML) (PDF)
Describes the informal protocol used to define default comparison methods for the comparisons in NSSpecifierTest.
Cocoa Reference 2006-05-23
NSCountCommand Class Reference (HTML) (PDF)
Describes the class used to count the number of objects of a specified class in the specified object container.
Cocoa Reference 2006-05-23
NSCreateCommand Class Reference (HTML) (PDF)
Describes the class used to create a specified scriptable object.
Cocoa Reference 2006-05-23
NSDeleteCommand Class Reference (HTML) (PDF)
Describes the class used to delete a specified scriptable object or objects.
Cocoa Reference 2006-05-23
NSExistsCommand Class Reference (HTML) (PDF)
Describes the class used to determine whether a specified scriptable object exists.
Cocoa Reference 2006-05-23
NSGetCommand Class Reference (HTML) (PDF)
Describes the class used to get the specified value or object from the specified scriptable object.
Cocoa Reference 2006-05-23
NSIndexSpecifier Class Reference (HTML) (PDF)
Describes the class used to represent the position of an object in a collection.
Cocoa Reference 2006-05-23
NSLogicalTest Class Reference (HTML) (PDF)
Describes the class used to perform logical operations in determining the scriptable objects a command acts on.
Cocoa Reference 2006-05-23
NSMiddleSpecifier Class Reference (HTML) (PDF)
Describes the class used to specify the middle object in a collection.
Cocoa Reference 2006-05-23
NSMoveCommand Class Reference (HTML) (PDF)
Describes the class used to move the specified scriptable object or objects.
Cocoa Reference 2006-05-23
NSNameSpecifier Class Reference (HTML) (PDF)
Describes the class used to specify an object in a collection (or container) by name.
Cocoa Reference 2006-05-23
NSPositionalSpecifier Class Reference (HTML) (PDF)
Describes the class used to specify an insertion point in a container relative to another object in the container.
Cocoa Reference 2006-06-28
NSPropertySpecifier Class Reference (HTML) (PDF)
Describes the class used to specify a simple attribute value, a one-to-one relationship, or all elements of a to-many relationship.
Cocoa Reference 2006-05-23
NSQuitCommand Class Reference (HTML) (PDF)
Describes the class used to quit the specified application.
Cocoa Reference 2006-05-23
NSRandomSpecifier Class Reference (HTML) (PDF)
Describes the class used to specify an arbitrary object in a collection.
Cocoa Reference 2006-05-23
NSRangeSpecifier Class Reference (HTML) (PDF)
Describes the class used to specify a range of objects in a container through two delimiting objects.
Cocoa Reference 2006-05-23
NSRelativeSpecifier Class Reference (HTML) (PDF)
Describes the class used to specify an object in a collection by its position relative to another object.
Cocoa Reference 2006-06-28
NSScriptClassDescription Class Reference (HTML) (PDF)
Describes the class used to encapsulate the scriptability information for a scriptable class.
Cocoa Reference 2006-11-07
NSScriptCoercionHandler Class Reference (HTML) (PDF)
Describes the class that provides a mechanism for converting one kind of scripting data to another.
Cocoa Reference 2006-05-23
NSScriptCommand Class Reference (HTML) (PDF)
Describes the class used to represent a scripting statement and the information needed to perform the operation it specifies.
Cocoa Reference 2006-05-23
NSScriptCommandDescription Class Reference (HTML) (PDF)
Describes the class used to provide a description of a script command.
Cocoa Reference 2006-11-07
NSScriptExecutionContext Class Reference (HTML) (PDF)
Describes the class that provides a shared instance of the context in which the current script command is executed.
Cocoa Reference 2006-05-23
NSScriptingComparisonMethods Protocol Reference (HTML) (PDF)
Describes the informal protocol used to define a set of methods for comparing script objects.
Cocoa Reference 2006-05-23
NSScriptKeyValueCoding Protocol Reference (HTML) (PDF)
Describes the informal protocol used to provide additional key-value coding capabilities in a scriptable application.
Cocoa Reference 2006-05-23
NSScriptObjectSpecifier Class Reference (HTML) (PDF)
Describes the abstract class used to instantiate objects that represent references to scriptable objects.
Cocoa Reference 2006-05-23
NSScriptObjectSpecifiers Protocol Reference (HTML) (PDF)
Describes the informal protocol used by scriptable objects to provide a fully specified object specifier to themselves.
Cocoa Reference 2006-05-23
NSScriptSuiteRegistry Class Reference (HTML) (PDF)
Describes the class used as the top-level repository of scriptability information for an application at runtime.
Cocoa Reference 2006-05-23
NSScriptWhoseTest Class Reference (HTML) (PDF)
Describes the abstract class used to represent expressions for testing scriptable object inclusion.
Cocoa Reference 2006-05-23
NSSetCommand Class Reference (HTML) (PDF)
Describes the class used to set values in a scriptable object.
Cocoa Reference 2006-05-23
NSSpecifierTest Class Reference (HTML) (PDF)
Describes the class used to apply a test to compare a specified object to another object.
Cocoa Reference 2006-06-28
NSUniqueIDSpecifier Class Reference (HTML) (PDF)
Describes the class used to specify an object in a container by unique ID.
Cocoa Reference 2006-05-23
NSWhoseSpecifier Class Reference (HTML) (PDF)
Describes the class used to specify every object in a container that matches a defined condition.
Cocoa Reference 2006-06-28
NSWindowScripting Protocol Reference (HTML) (PDF)
Describes the category on NSWindow for scripting basic properties and commands of windows in scriptable applications.
Cocoa Reference 2006-05-23
XML-RPC and SOAP Programming Guide (HTML) (PDF)
Explains how to make remote procedure calls from applications or from AppleScript scripts.
Cocoa Guides 2005-03-03
AppleScript Overview (HTML) (PDF)
Introduces the technology for writing scripts to control applications. Useful for scripters and application developers.
General Guides 2006-03-08
AppleScript Terminology and Apple Event Codes Reference (HTML)
Lists terms used in AppleScript, AppleScript Studio, and Standard Additions with their matching codes.
General Release Note 2006-06-28
Using AppleScript to send an email with an attachment (HTML) (日本語 HTML)
QA1018: Explains how to send an attachment with an email message using an AppleScript.
Internet & Web Technical Q&A 2002-01-04
XML-RPC and SOAP Programming Guide (HTML) (PDF)
Explains how to make remote procedure calls from applications or from AppleScript scripts.
Internet & Web Guides 2005-03-03
AttachAScript (HTML) (DMG) (ZIP)
Illustrates how you can extend any Cocoa application by adding some AppleScripts to it.
Networking Sample Code 2006-07-27
LocalServer (HTML) (DMG) (ZIP)
Deprecated - Sample demonstrates how a Classic process can communicate with a Mac OS X process using IP networking protocols.
Networking Sample Code 2003-01-30
AppleScript Language Guide for AppleScript 1.3.7 (HTML) (PDF)
Defines the AppleScript scripting language. Includes many brief sample scripts.
Scripting Guides 1999-05-17
AppleScript Studio Programming Guide (HTML) (PDF)
Explains how to create script-driven applications with complex user interfaces based on Cocoa UI classes. Includes tutorials.
Scripting Guides 2006-04-04
AppleScript Studio Terminology Reference (HTML) (PDF)
Describes the scripting terminology for AppleScript Studio, through version 1.4.
Scripting Reference 2006-09-05
Calling AppleScript from an Application (HTML)
QA1026: Describes how to call an AppleScript from an application written in C.
Scripting Technical Q&A 2001-04-10
do shell script in AppleScript (HTML) (日本語 HTML)
TN2065: Frequently Asked Questions about the AppleScript "do shell script" command.
Scripting Technical Note 2006-03-23
Open Scripting Architecture Reference (HTML) (PDF)
Describes the API for compiling and executing scripts in applications and writing scripting components.
Scripting Reference 2005-07-07
XML-RPC and SOAP Programming Guide (HTML) (PDF)
Explains how to make remote procedure calls from applications or from AppleScript scripts.
Scripting Guides 2005-03-03
AppleScript Language Guide for AppleScript 1.3.7 (HTML) (PDF)
Defines the AppleScript scripting language. Includes many brief sample scripts.
Tools Guides 1999-05-17
AppleScript Release Notes (HTML)
Describes late breaking news and highlights of new or changed features in the latest release of AppleScript.
Tools Release Note 2006-06-30
AppleScript Studio Programming Guide (HTML) (PDF)
Explains how to create script-driven applications with complex user interfaces based on Cocoa UI classes. Includes tutorials.
Tools Guides 2006-04-04
AppleScript Studio Release Notes (HTML)
Describes late breaking news and highlights of new or changed features in the latest release of AppleScript Studio.
Tools Release Note 2005-04-29
AppleScript Studio Terminology Reference (HTML) (PDF)
Describes the scripting terminology for AppleScript Studio, through version 1.4.
Tools Reference 2006-09-05
Automator Framework Reference (HTML) (PDF)
Describes the Objective-C API for creating and working with actions used by the Automator application.
Tools Reference 2006-05-23
Automator Programming Guide (HTML) (PDF)
Describes the concepts and tasks for developing actions, which are bundles loaded by the Automator application.
Tools Guides 2006-09-05
Automator Release Notes (HTML)
Tools Release Note 2005-06-06
Calling AppleScript from an Application (HTML)
QA1026: Describes how to call an AppleScript from an application written in C.
Tools Technical Q&A 2001-04-10
XML-RPC and SOAP Programming Guide (HTML) (PDF)
Explains how to make remote procedure calls from applications or from AppleScript scripts.
Tools Guides 2005-03-03
Deselecting Icons in the Finder (HTML) (日本語 HTML)
IC04: Shows how to programmatically deselect icons in the Finder.
User Experience Technical Q&A 1997-07-11
ScriptingDefinitions (HTML) (DMG) (ZIP)
Provides a starting sdef (scripting definition) and a completed one for the Sketch example code.
User Experience Sample Code 2007-03-05
SuspendAppleEvent (HTML) (DMG) (ZIP)
Illustrates how to suspend and resume AppleEvents.
User Experience Sample Code 2003-10-14