CYAN MAGENTA YELLOW BLACK PANTONE 123 Books for professionals By professionals® Companion www.dbebooks.com - Free Books & magazines eBook Available Beyond the Manual is a new series of fast-paced, high-density books written for experienced computer users wishing to maximize their knowledge and productivity Are you beyond the manual? ALSO AvAiLABLe • Using the standard Leopard applications including Mail, Safari, Preview, and more • Learning all the ins and outs of the Finder and Leopard’s improved interface • Administering your computer for yourself and for others • Working with other computers and operating systems from your Mac • Configuring the network to take full advantage of the powerful networking capabilities in Leopard • Working with add-on devices via USB, FireWire, and Bluetooth • Effectively implementing data backup, recovery, and security • Taking advantage of the Darwin subsystem in Leopard • Getting started with OS X development in Leopard Mac OS X Leopard G ood computer books make assumptions about the reader, such as what they and don’t know when they pick up the book and what they want to know when they put it down For each reader this could be very different; therefore, a book that suits one person may not be the best for another Mac OS X Leopard: Beyond the Manual makes some assumptions too—ones that tend to differ from other Mac OS X books First, we assume you have used a computer in that past; we assume you know how to use a mouse and you know the proper place to stick a DVD to get it to play in your computer We won’t be showing you these skills (We will, however, demonstrate to our new Mac converts how to “right-click” a trackpad with only one button!) Second, we assume you know what you want to with your computer We won’t waste your time showing you step by step how to order a pizza from Pizza Galaxy in Milwaukee, Wisconsin, with Safari (though, when you’re done with this book, we think you’ll be able to that just fine…if such a place exists) Finally, we assume you are a reasonably intelligent person who realizes the value of such phrases as “Give a man a fish, and you have fed him for today Teach a man to fish, and you have fed him for a lifetime.” And, we assume you can imagine how that might apply to a computer book If this sounds like you, then we think you’ll find this book rewarding Inside you will find everything you need to get up to speed with Mac OS X Leopard including the following: Mac OS X Leopard The manual’s not missing $10 Companion eBook see last page for details 53499 Meyers lee ISBN-13: 978-1-59059-837-5 ISBN-10: 1-59059-837-7 www.apress.com US $34.99 shelve in apple/Mac os X User level: intermediate Scott Meyers Mike Lee 781590 598375 www.it-ebooks.info this print for content only—size & color not accurate spine = 1.176" 624 page count you’re beyond it www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page i Mac OS X Leopard Scott Meyers and Mike Lee www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page ii Mac OS X Leopard: Beyond the Manual Copyright © 2008 by Scott Meyers and Mike Lee All rights reserved No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher ISBN-13 (pbk): 978-1-59059-837-5 ISBN-10 (pbk): 1-59059-837-7 ISBN-13 (electronic): 978-1-4302-0255-4 ISBN-10 (electronic): 1-4302-0255-6 Printed and bound in the United States of America Trademarked names may appear in this book Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark Lead Editor: Jeffrey Pepper Editorial Board: Steve Anglin, Ewan Buckingham, Tony Campbell, Gary Cornell, Jonathan Gennick, Jason Gilmore, Kevin Goff, Jonathan Hassell, Matthew Moodie, Joseph Ottinger, Jeffrey Pepper, Ben Renow-Clarke, Dominic Shakeshaft, Matt Wade, Tom Welsh Senior Project Manager: Tracy Brown Collins Copy Editors: Damon Larson and Kim Wimpsett Associate Production Director: Kari Brooks-Copony Production Editor: Laura Esterman Compositor: Dina Quan Proofreaders: Erin Poe and Greg Teague Indexer: John Collin Artist: April Milne Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013 Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com, or visit http://www.springeronline.com For information on translations, please contact Apress directly at 2855 Telegraph Avenue, Suite 600, Berkeley, CA 94705 Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit http://www.apress.com The information in this book is distributed on an “as is” basis, without warranty Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work The source code for this book is available to readers at http://www.apress.com www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page iii www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page iv Contents at a Glance About the Authors xxi Acknowledgments xxii Introduction xxiii PART Getting to Know Leopard CHAPTER Working in Leopard: The Aqua Interface CHAPTER The File System 27 CHAPTER Using Spotlight, Exposé, Spaces, and Dashboard 37 PART Customizing and Administering Leopard CHAPTER System Preferences 51 CHAPTER Connecting Peripherals to Your Mac 99 CHAPTER Common Leopard Maintenance 121 CHAPTER Backup, Synchronization, and Recovery of Data 135 CHAPTER Leopard Security 143 PART Communications and the Internet CHAPTER Connecting to the Internet 157 CHAPTER 10 Browsing the Web with Safari 171 CHAPTER 11 Mail, Address Book, and iCal 197 CHAPTER 12 iChat 229 PART Working with Applications CHAPTER 13 Application Basics 247 CHAPTER 14 Apple Apps Included with Leopard 255 CHAPTER 15 Mac 265 CHAPTER 16 iLife ’08 271 CHAPTER 17 iWork ’08 281 iv www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page v PART Getting to Know Darwin CHAPTER 18 Introducing Darwin and the Shell 289 CHAPTER 19 Extending the Power of Darwin 329 PART Networking Leopard CHAPTER 20 Leopard Networking 351 CHAPTER 21 Working with Remote Servers and Networks 365 CHAPTER 22 Leopard As a Web Server 383 PART Leopard Development and Scripting CHAPTER 23 Mac OS X Automation with Automator and AppleScript 401 CHAPTER 24 Mac OS X Development: The Application Frameworks 421 CHAPTER 25 Mac OS X Development: The Tools 447 CHAPTER 26 Mac OS X Development: Objective-C 481 PART Cross-Platform Solutions CHAPTER 27 Working with Microsoft Windows and Other Operating Systems 515 Appendixes APPENDIX A What’s New with Leopard? 525 APPENDIX B Installing Mac OS X Leopard 543 Index 555 v www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page vi www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page vii Contents About the Authors xxi Acknowledgments xxii Introduction xxiii PART Getting to Know Leopard CHAPTER Working in Leopard: The Aqua Interface The Menu Bar The Apple Menu Application Menus Menu Bar Extras The Finder (and the Desktop) The Finder’s Toolbar The Finder’s Sidebar The Finder’s Views Common Finder Tasks 12 The Desktop 19 Customizing the Finder 19 The Dock 22 Favorite Application Icons 22 Open Applications 23 Folders and Stacks 23 Minimized Windows 24 The Trash 24 Dock Preferences 25 Summary 26 vii www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page viii viii CONTENTS CHAPTER The File System 27 The Overall File Structure of Leopard The Library Folders The Library and System Library Folders Personal Library Folder Common Library Items The Applications Folder The Users Folder and Your Home Other Common Folders Hidden Folders Summary 27 28 28 29 29 34 34 35 36 36 CHAPTER Using Spotlight, Exposé, Spaces, and Dashboard Searching with Spotlight Performing a Basic Search in Spotlight Refining and Saving Your Searches Setting Up Smart Folders Using Spotlight Technology in Other Applications Using Exposé and Spaces Exposé Spaces Dashboard Summary 37 37 37 38 41 41 42 42 44 47 48 PART Customizing and Administering Leopard CHAPTER System Preferences 51 Personal Preferences Appearance Desktop & Screen Saver Dock Exposé & Spaces International Security Spotlight Hardware Bluetooth CDs & DVDs www.it-ebooks.info 52 52 54 57 57 58 62 62 63 64 64 ...www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page i Mac OS X Leopard Scott Meyers and Mike Lee www.it-ebooks.info 8377FM.qxd 11/15/07 4:40 PM Page ii Mac OS X Leopard: Beyond the Manual Copyright... PART Leopard Development and Scripting CHAPTER 23 Mac OS X Automation with Automator and AppleScript 401 CHAPTER 24 Mac OS X Development: The Application Frameworks 421 CHAPTER 25 Mac OS. .. 515 Appendixes APPENDIX A What’s New with Leopard? 525 APPENDIX B Installing Mac OS X Leopard 543 Index