Apple Event Manager

Introduction

An Apple event is a high-level event that conforms to the Apple Event Interprocess Messaging Protocol. The Apple Event Manager sends Apple events between applications on the same computer or between applications on remote computers.

Applications typically use Apple events to request services and information from other applications or to provide services and information in response to such requests. All applications are required to support four Apple events that the Finder sends. These events are Open Application, Open Documents, Print Documents, and Quit Application.

Using the Apple Event Manager, it is also possible for your application to support scripting through AppleScript, making it possible for your application to

• manipulate and execute scripts

• provide human-language equivalents to Apple event codes so that scripting components can send your application the appropriate Apple events during script execution

• allow users to record their actions in the form of a script