AppleScript Language Guide
Scripting & Automation > AppleScript
© 2008 Apple Inc.
All rights reserved.
No part of this publication may be reproduced,
stored in a retrieval system, or transmitted, in
any form or by any means, mechanical,
electronic, photocopying, recording, or
otherwise, without prior written permission of
Apple Inc., with the following exceptions: Any
person is hereby authorized to store
documentation on a single computer for
personal use only and to print copies of
documentation for personal use provided that
the documentation contains Apple’s copyright
The Apple logo is a trademark of Apple Inc.
Use of the “keyboard” Apple logo
(Option-Shift-K) for commercial purposes
without the prior written consent of Apple may
constitute trademark infringement and unfair
competition in violation of federal and state
No licenses, express or implied, are granted
with respect to any of the technology described
in this document. Apple retains all intellectual
property rights associated with the technology
described in this document. This document is
intended to assist application developers to
develop applications only for Apple-labeled
Every effort has been made to ensure that the
information in this document is accurate. Apple
is not responsible for typographical errors.
1 Infinite Loop
Cupertino, CA 95014
.Mac is a registered service mark of Apple Inc.
Apple, the Apple logo, AppleScript, AppleScript
Studio, AppleShare, AppleTalk, Bonjour, eMac,
iTunes, iWork, Leopard, Logic, Mac, Mac OS,
and Macintosh are trademarks of Apple Inc.,
registered in the United States and other
Finder, Numbers, and Spotlight are trademarks
of Apple Inc.
Intel and Intel Core are registered trademarks
of Intel Corportation or its subsidiaries in the
United States and other countries.
Times is a registered trademark of Heidelberger
Druckmaschinen AG, available from Linotype
Simultaneously published in the United States