Next Page > Hide TOC

Introduction to Apple Events Programming Guide

Contents:

Who Should Read This Document
Organization of This Document
See Also


Apple Events Programming Guide provides conceptual information and programming examples for working with Apple events.

An Apple event is a type of interprocess message that can specify complex operations and data. Apple events allow you to gather all the data necessary to accomplish a high level task into a single package that can be passed across process boundaries, evaluated, and returned with results. The Mac OS uses Apple events to communicate with applications. Apple events are also an essential part of the AppleScript scripting system, which allows users to automate actions using scriptable applications—applications that can respond to a variety of Apple events by performing operations or supplying data.

Note: Mac OS X offers other mechanisms for communicating between processes. These mechanisms are described in “IPC and Notification Mechanisms” in "Darwin and Core Technologies” in Mac OS X Technology Overview.

Apple Events Programming Guide assumes that you are familiar with the information in AppleScript Overview.

The information in this document applies primarily to Carbon applications. While Cocoa applications can take advantage of most of the described features, in many cases they won’t need to. For more information, see “Framework and Language Support.”

Who Should Read This Document

You should read this document if you want to:

Important: An Apple event can contain object specifiers that identify objects within the application that receives the event. Object specifiers are mentioned only briefly in this document. For information on how to work with object specifiers, see “Resolving and Creating Object Specifier Records” in Inside Macintosh: Interapplication Communication.

Do not rely on the API descriptions in Interapplication CommunicationOpen Scripting Architecture Reference and Apple Event Manager Reference provide the current API documentation.

Organization of This Document

This document is organized into the following chapters:

See Also

The following documents provide related information.



Next Page > Hide TOC


© 2005, 2007 Apple Inc. All Rights Reserved. (Last updated: 2007-10-31)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.