Applescript: the Missing Manual by Adam Goldstein Publisher

Total Page:16

File Type:pdf, Size:1020Kb

Applescript: the Missing Manual by Adam Goldstein Publisher AppleScript: The Missing Manual By Adam Goldstein Publisher: O'Reilly Pub Date: February 2005 ISBN: 0-596-00850-3 Pages: 350 Table of • Contents • Index • Reviews • CD-ROM AppleScript: The Missing Manual is every beginner's guide to learning the Reader Macintosh's ultimate scripting tool: AppleScript. Through dozens of hands- • Reviews on scripting examples, this comprehensive guide ensures that anyone • Errata including novices can learn how to control Mac applications in timesaving • Academic and innovative ways. Thanks to AppleScript: The Missing Manual, the path Top Ten from regular Mac fan to seasoned scripter has never been easier. • AppleScript Tips AppleScript: The Missing Manual By Adam Goldstein Publisher: O'Reilly Pub Date: February 2005 ISBN: 0-596-00850-3 Pages: 350 Table of • Contents • Index • Reviews • CD-ROM Reader • Reviews • Errata • Academic Top Ten • AppleScript Tips Copyright The Missing Credits About the Author About the Creative Team Acknowledgments The Missing Manual Series Foreword Introduction Uses for AppleScript Advantages and Disadvantages About This Book Part I: AppleScript Overview Chapter 1. Setting Up AppleScript Section 1.1. The Script Menu Section 1.2. Working with the Scripts You Have Chapter 2. Using Script Editor Section 2.1. The Script Editor Look Section 2.2. Script Formats Section 2.3. Setting Script Editor's Preferences Chapter 3. Building a Script from Scratch Section 3.1. Getting Started Section 3.2. Commanding Other Programs Part II: Everyday Scripting Tasks Chapter 4. Manipulating Text Section 4.1. String Notation Section 4.2. Getting Text Back from Dialog Boxes Section 4.3. Linking Strings Together Section 4.4. Multiline Strings Section 4.5. Scripting TextEdit Section 4.6. Adding Word Count Section 4.7. Commanding Microsoft Word Section 4.8. Running Scripts from Text Chapter 5. Controlling Files Section 5.1. File Path Boot Camp Section 5.2. Displaying Folders Section 5.3. Moving Files Around Section 5.4. Backing Up Files Section 5.5. Deleting Files Section 5.6. Picking a File from a Dialog Box Section 5.7. Saving Files Chapter 6. Creating Lists Section 6.1. Common List Commands Section 6.2. Displaying Lists Section 6.3. The Ever-Useful every Keyword Section 6.4. List Processing Section 6.5. Joining Lists Together Section 6.6. Inputting Lists Section 6.7. Getting Lists from Other Programs Chapter 7. Organizing and Editing Graphics Section 7.1. Scripting iPhoto Section 7.2. Controlling Photoshop Section 7.3. Image Events Chapter 8. Playing Sound and Video Section 8.1. Scripting iTunes Section 8.2. Speaking and Listening Section 8.3. Scripting QuickTime Chapter 9. Internet and Network Scripting Section 9.1. Internet Connect Section 9.2. Safari Section 9.3. Address Book Section 9.4. Mail Section 9.5. iChat Control Section 9.6. URL Access Scripting Section 9.7. Recalling Passwords Chapter 10. Organizing Information in Databases Section 10.1. Record Notation Section 10.2. Making a Simple AppleScript Database Section 10.3. Getting File Information Section 10.4. Scripting FileMaker Pro Part III: Power-User Features Chapter 11. Linking Scripts to Folders with Folder Actions Section 11.1. Enabling Folder Actions Section 11.2. Built-in Actions Section 11.3. Running Your Own Actions Chapter 12. Scripting Programs That Don't Have Dictionaries Section 12.1. Enabling GUI Scripting Section 12.2. GUI Scripting Basics Section 12.3. Controlling Menus Section 12.4. Clicking Buttons Section 12.5. Deciphering Interface Hierarchies Section 12.6. Fake Typing Chapter 13. Mixing AppleScript and Unix Section 13.1. Terminal Section 13.2. Unix Without Terminal Section 13.3. Running Superuser Commands Section 13.4. Running AppleScripts from Unix Section 13.5. Scheduling AppleScript Commands Chapter 14. Testing and Debugging Scripts Section 14.1. First Line of Defense: The Compiler Section 14.2. Noting Important Events Section 14.3. Preventing Errors Section 14.4. Isolating and Handling Errors Section 14.5. The Xcode Debugger Chapter 15. AppleScript Studio Section 15.1. What Is AppleScript Studio? Section 15.2. Making a Program Part IV: Appendixes Appendix A. AppleScript Support in Common Programs Section A.1. Databases Section A.2. Email Programs Section A.3. Graphics Editors Section A.4. Page Layout Programs Section A.5. Plain Text Editors Section A.6. Word Processors Section A.7. Web Browsers Appendix B. Moving from HyperCard to AppleScript Section B.1. Data Types Section B.2. Dialog Boxes Section B.3. Existence Section B.4. Numbers Section B.5. Pausing Section B.6. Ranges Section B.7. Repeat Statements Section B.8. Subroutines Section B.9. Variables Appendix C. Where to Go from Here Section C.1. Web Sites Section C.2. Discussion Lists Section C.3. Books Colophon Index Copyright © 2005 O'Reilly Media, Inc. All rights reserved. Printed in the United States of America. Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://safari.oreilly.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 [email protected] . Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly Media, Inc. AppleScript: The Missing Manual, The Missing Manual logo, Pogue Press, the Pogue Press logo, and "The book that should have been in the box" are trademarks of O'Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly Media, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein. The Missing Credits About the Author About the Creative Team Acknowledgments The Missing Manual Series About the Author Adam Goldstein is the teenage founder of GoldfishSoft (www.goldfishsoft.com), a software company specializing in games and utilities for Mac OS X. He has worked on several books for O'Reilly, including Mac OS X: The Missing Manual (as technical editor) and Mac OS X Power Hound (as co-editor). In his spare time, Adam attends high school in New Jersey, where he is a captain of the Quizbowl team and is engaged in various other nerdy endeavors. He welcomes feedback about this book by email: [email protected]. (If you need technical help, however, please refer to the sources in Appendix C.) About the Creative Team Chuck Toporek (editor) is the author of Inside .Mac, the Mac OS X Panther Pocket Guide (and all its previous incarnations for earlier versions of Mac OS X), and is a coauthor ofMac OS X Panther in a Nutshell. He's a senior editor with O'Reilly Media, Inc., responsible for all of the non-Missing Manual Mac OS X-related books published by O'Reilly. Chuck resides in Portland, Oregon, where he spends his free time sipping coffee and enjoying the grandeur of the Pacific Northwest. Email: [email protected]. Web: http://homepage.mac.com/chuckdude. Rose Cassano (cover illustration) has worked as an independent designer and illustrator for 20 years. Assignments have ranged from the nonprofit sector to corporate clientele. She lives in beautiful Southern Oregon, grateful for the miracles of modern technology that make working there a reality. Email: [email protected]. Web: www.rosecassano.com. Ellie Volckhausen (cover designer) has been at O'Reilly for several years, and has discovered that the sooty phalangist from Van Diemen's Land is the same animal as the Common Brushtail Possum from Tasmania. Paul Berkowitz (technical reviewer) has tech-edited other O'Reilly AppleScript books, including AppleScript: The Definitive Guide by Matt Neuburg, and has also done some technical proofreading of AppleScript-related documentation for Apple and Microsoft. He is the author of the AppleScript chapter in Office 2004 for the Mac: The Missing Manual. He is well known as the author of over 100 AppleScripts for Entourageincluding major script programs for exporting and importing just about everythingand programs for syncing Entourage to Apple's Address Book and iCal. In his "other life," he is a classical pianist and Professor of Piano at the University of California in Santa Barbara, where he now lives happily ever after. John Gruber (technical reviewer) is a freelance writer, Web developer, designer, and Mac nerd. He combines those interests on his Web site, Daring Fireball (http://daringfireball.net), which is widely regarded as "not bad." John lives in Philadelphia with his lovely wife, Amy, and their young son Jonas. Lydian Meredith (technical reviewer) has been working and playing with Macs since 1988, in academia, business, and publishing. Currently she runs her own publishing bureau in London and lurks in several Mac User lists, including some for AppleScript. August Trometer (technical reviewer) is the creator and developer of the podcasting client iPodderX, as well as the creator and administrator of the .Mac portal Web site,dotmac.info . A former restaurant owner, he now works as a software and Web developer. He lives in Indianapolis, Indiana. Email: [email protected]. Web: http://dotmac.info. Linley Dolby (copyeditor) spent several years in the production department at O'Reilly before moving to Martha's Vineyard to pursue a freelance career. She now helps whip technical books into shape for several companies, including O'Reilly and Pogue Press. Email:[email protected] . Genevieve d'Entremont (production editor) has been at O'Reilly for two years now, but she still doesn't understand why people are so fascinated by technological minutiae.
Recommended publications
  • Notes for Mac Driver 3.2
    Notes for Mac Driver 3.2 June 26, 2014 General Known Issues 1. Issue: Due to an OS limitation, waste toner status shows as unknown. Solution: Check the device for the actual status of the waste toner. 2. Issue: Output appears pixelated when printing from InDesign CS4. Solution: Adobe recommends placing instead of pasting graphics into InDesign and checking your print settings to make sure graphics are printing properly. In the Graphics section of the Print dialog box, choose Send Data > All. 3. Issue: Error “Incorrect account ID” is displayed on the front panel if printing from QuarkXpress 7.3 or later. Solution: Install Quark® CUPS Filter from Quark’s support website. 4. Issue: Watermark may not print correctly in some devices. Solution: Change the Watermark option from “Transparent” to “Stamp”. 5. Issue: Watermark characters may appear as “◻” when printing some PDF documents. Solution: Use a different font for the Watermark text. 6. Issue: Using both N-up and Watermark/Stamp repeat at the same time may significantly reduce printing speed. Solution: Avoid using both settings at the same time. 7. Issues: Driver constraint information is displayed as a pop-up in some Mac OS X versions. Alert message text is generated by OS. 8. Issue: Paper size name changes in OS X 10.7 (by the OS), “Envelope #6” shows as “Personal” and “Statement” shows as “Invoice”. On minor version up, it appears that “Invoice” was reverted to “Statement”. 9. Issue: Mixed orientation file is treated as separate file when Booklet option is applied. 10. Issue: It is possible for multiple applications to open the Account ID List window at the same time which introduces a race condition where multiple applications are allowed to modify the same Account ID List and one will end up over-writing the other’s changes.
    [Show full text]
  • Stickybrain™ User's Guide
    STICKYBRAIN™ USER’S GUIDE CHRONOS LLC MAY 12, 2005 1 LICENSE AGREEMENT, COPYRIGHTS, & TRADEMARKS PLEASE READ THIS SOFTWARE LICENSE AGREEMENT ("LICENSE") CAREFULLY BEFORE USING THE CHRONOS SOFTWARE. BY USING THE CHRONOS SOFTWARE, YOU ARE AGREEING TO BE BOUND BY THE TERMS OF THIS LICENSE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENSE, DO NOT INSTALL OR USE THE SOFTWARE. IF YOU DO NOT AGREE TO THE TERMS OF THE LICENSE, YOU MAY RETURN THE CHRONOS SOFTWARE TO THE PLACE WHERE YOU OBTAINED IT FOR A REFUND. IF THE CHRONOS SOFTWARE WAS ACCESSED ELECTRONICALLY, CLICK "DISAGREE/DECLINE". FOR CHRONOS SOFTWARE INCLUDED WITH YOUR PURCHASE OF HARDWARE, YOU MUST RETURN THE ENTIRE HARDWARE/SOFTWARE PACKAGE IN ORDER TO OBTAIN A REFUND. IMPORTANT NOTE: This software may be used to reproduce materials. It is licensed to you only for reproduction of non-copyrighted materials, materials in which you own the copyright, or materials you are authorized or legally permitted to reproduce. If you are uncertain about your right to copy any material, you should contact your legal advisor. 1. General. The software, documentation and any supporting documents accompanying this License whether on disk, in read only memory, on any other media or in any other form (collectively the "Chronos Software") are licensed, not sold, to you by Chronos LLC ("Chronos") for use only under the terms of this License, and Chronos reserves all rights not expressly granted to you. The rights granted herein are limited to Chronos' and its licensors' intellectual property rights in the Chronos Software and do not include any other patents or intellectual property rights.
    [Show full text]
  • Mac OS X Server Administrator's Guide
    034-9285.S4AdminPDF 6/27/02 2:07 PM Page 1 Mac OS X Server Administrator’s Guide K Apple Computer, Inc. © 2002 Apple Computer, Inc. All rights reserved. Under the copyright laws, this publication may not be copied, in whole or in part, without the written consent of Apple. The Apple logo is a trademark of Apple Computer, Inc., registered in the U.S. and other countries. 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 laws. Apple, the Apple logo, AppleScript, AppleShare, AppleTalk, ColorSync, FireWire, Keychain, Mac, Macintosh, Power Macintosh, QuickTime, Sherlock, and WebObjects are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. AirPort, Extensions Manager, Finder, iMac, and Power Mac are trademarks of Apple Computer, Inc. Adobe and PostScript are trademarks of Adobe Systems Incorporated. Java and all Java-based trademarks and logos are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. Netscape Navigator is a trademark of Netscape Communications Corporation. RealAudio is a trademark of Progressive Networks, Inc. © 1995–2001 The Apache Group. All rights reserved. UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company, Ltd. 062-9285/7-26-02 LL9285.Book Page 3 Tuesday, June 25, 2002 3:59 PM Contents Preface How to Use This Guide 39 What’s Included
    [Show full text]
  • Vmware Fusion 12 Vmware Fusion Pro 12 Using Vmware Fusion
    Using VMware Fusion 8 SEP 2020 VMware Fusion 12 VMware Fusion Pro 12 Using VMware Fusion You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com © Copyright 2020 VMware, Inc. All rights reserved. Copyright and trademark information. VMware, Inc. 2 Contents Using VMware Fusion 9 1 Getting Started with Fusion 10 About VMware Fusion 10 About VMware Fusion Pro 11 System Requirements for Fusion 11 Install Fusion 12 Start Fusion 13 How-To Videos 13 Take Advantage of Fusion Online Resources 13 2 Understanding Fusion 15 Virtual Machines and What Fusion Can Do 15 What Is a Virtual Machine? 15 Fusion Capabilities 16 Supported Guest Operating Systems 16 Virtual Hardware Specifications 16 Navigating and Taking Action by Using the Fusion Interface 21 VMware Fusion Toolbar 21 Use the Fusion Toolbar to Access the Virtual-Machine Path 21 Default File Location of a Virtual Machine 22 Change the File Location of a Virtual Machine 22 Perform Actions on Your Virtual Machines from the Virtual Machine Library Window 23 Using the Home Pane to Create a Virtual Machine or Obtain One from Another Source 24 Using the Fusion Applications Menus 25 Using Different Views in the Fusion Interface 29 Resize the Virtual Machine Display to Fit 35 Using Multiple Displays 35 3 Configuring Fusion 37 Setting Fusion Preferences 37 Set General Preferences 37 Select a Keyboard and Mouse Profile 38 Set Key Mappings on the Keyboard and Mouse Preferences Pane 39 Set Mouse Shortcuts on the Keyboard and Mouse Preference Pane 40 Enable or Disable Mac Host Shortcuts on the Keyboard and Mouse Preference Pane 40 Enable Fusion Shortcuts on the Keyboard and Mouse Preference Pane 41 Set Fusion Display Resolution Preferences 41 VMware, Inc.
    [Show full text]
  • Hypertalk: the Language for the Rest of Us
    HyperTalk: The Language for the Rest of Us Kyle Wheeler January 18, 2004 Contents 1 Introduction 1 Introduction 1 There is, perhaps, no piece of software written by Ap- ple Computer, Inc. more prone to generating extreme 2 History 1 emotions in its users than its operating system. Next 2.1 TheBirth ................ 1 below that, however, is HyperCard. Designed and re- 2.2 TheLife................. 2 leased in 1987 by Bill Atkinson [7], HyperCard was an 2.3 TheDeath................ 2 instant success. Leveraging the power and simplicity 2.4 TheLegend ............... 2 of its scripting language, HyperTalk, designed by Bill Atkinson and by Dan Winkler [1], HyperCard demys- 3 Goals 2 tified the art of creating software. The language has a grammar and syntax similar to English, and as such ap- 4 Syntax Semantics 3 pealed to computer hobbyists, teachers, and the uniniti- 4.1 Implementation Notes . 3 ated alike. The commands HyperTalk uses are similar to 4.2 Objects ................. 3 those used by the Macintosh Toolbox, the base-level API 4.3 Messages ................ 4 of Apple’s Macintosh operating system, and the logical 4.4 Handlers................. 4 structure is similar to Pascal and organized in an event- 5 Bibliography 4 driven manner [8]. A BNF 6 A.1 Scripts.................. 6 2 History A.2 Expressions ............... 6 A.3 Ordinals and Positions . 7 2.1 The Birth A.4 Chunks and Containers . 7 HyperTalk was born as the core scripting language of A.5 Objects ................. 7 the HyperCard application, developed by Bill Atkinson1 A.6 Commands . 8 for Apple Computer, Inc. in 1987 under the condition A.6.1 Command Nonterminals .
    [Show full text]
  • Join Together Read Me.Rtfd
    Join Together v5.1.5 AppleScript Studio Application for iTunes Find more free AppleScripts and info on writing your own at Doug's AppleScripts for iTunes. This application will enable you to join the files of selected iTunes tracks together with Quick Time and export them as a single AAC file/track. Optionally, with Apple's "Chapter Tool" application installed, you can then create a "chapterized" audio file of the exported AAC file. Requires: Mac OS 10.4 ("Tiger") or better iTunes 4.9 or better (version 6 or better preferred) QuickTime Player v7.0 or better Chapter Tool required for creating "chapterized" AAC's This application is Donationware. If you use it and like it please consider making a donation to support my AppleScripting efforts. Click here for more info. Installation: Place the Join Together application anywhere it is conveniently accessible. The Applications folder is as good a place as any. Because Join Together is an application I do not recommend placing it in your iTunes Scripts folder since it cannot be accessed from the iTunes Script menu. (See the accompanying "Make A Join Together Launch Script" to create a small AppleScript that can launch Join Together from the iTunes Script menu.) QuickTime v7.x.x In order to export joined files as AAC files you must have QuickTime Player 7 or better. Chapter Tool "Chapter Tool" is a command-line application that assists with creating "chapterized" audio files, (a.k.a enhanced audio files). This script utilizes it to create such files from your joined tracks. You can download the Chapter Tool application (currently Beta 2.0b8 as of this writing) by clicking on the URL clip provided in this script's download package.
    [Show full text]
  • Mac OS X: an Introduction for Support Providers
    Mac OS X: An Introduction for Support Providers Course Information Purpose of Course Mac OS X is the next-generation Macintosh operating system, utilizing a highly robust UNIX core with a brand new simplified user experience. It is the first successful attempt to provide a fully-functional graphical user experience in such an implementation without requiring the user to know or understand UNIX. This course is designed to provide a theoretical foundation for support providers seeking to provide user support for Mac OS X. It assumes the student has performed this role for Mac OS 9, and seeks to ground the student in Mac OS X using Mac OS 9 terms and concepts. Author: Robert Dorsett, manager, AppleCare Product Training & Readiness. Module Length: 2 hours Audience: Phone support, Apple Solutions Experts, Service Providers. Prerequisites: Experience supporting Mac OS 9 Course map: Operating Systems 101 Mac OS 9 and Cooperative Multitasking Mac OS X: Pre-emptive Multitasking and Protected Memory. Mac OS X: Symmetric Multiprocessing Components of Mac OS X The Layered Approach Darwin Core Services Graphics Services Application Environments Aqua Useful Mac OS X Jargon Bundles Frameworks Umbrella Frameworks Mac OS X Installation Initialization Options Installation Options Version 1.0 Copyright © 2001 by Apple Computer, Inc. All Rights Reserved. 1 Startup Keys Mac OS X Setup Assistant Mac OS 9 and Classic Standard Directory Names Quick Answers: Where do my __________ go? More Directory Names A Word on Paths Security UNIX and security Multiple user implementation Root Old Stuff in New Terms INITs in Mac OS X Fonts FKEYs Printing from Mac OS X Disk First Aid and Drive Setup Startup Items Mac OS 9 Control Panels and Functionality mapped to Mac OS X New Stuff to Check Out Review Questions Review Answers Further Reading Change history: 3/19/01: Removed comment about UFS volumes not being selectable by Startup Disk.
    [Show full text]
  • Carbon Copy Cloner Documentation: English
    Carbon Copy Cloner Documentation: English Getting started with CCC System Requirements, Installing, Updating, and Uninstalling CCC CCC License, Registration, and Trial FAQs Trouble Applying Your Registration Information? Establishing an initial backup Preparing your backup disk for a backup of Mac OS X Restoring data from your backup What's new in CCC Features of CCC specific to Lion and greater Release History Carbon Copy Cloner's Transition to a Commercial Product: Frequently Asked Questions Credits Example backup scenarios I want to clone my entire hard drive to a new hard drive or a new machine I want to backup my important data to another Macintosh on my network I want to backup multiple machines or hard drives to the same hard drive I want my backup task to run automatically on a scheduled basis Backing up to/from network volumes and other non-HFS volumes I want to back up my whole Mac to a Time Capsule or other network volume I want to defragment my hard drive Backup and archiving settings Excluding files and folders from a backup task Protecting data that is already on your destination volume Managing previous versions of your files Automated maintenance of CCC archives Advanced Settings Some files and folders are automatically excluded from a backup task The Block-Level Copy Scheduling Backup Tasks Scheduling a task and basic settings Performing actions Before and After the backup task Deferring and skipping scheduled tasks Frequently asked questions about scheduled tasks Email and Growl notifications Backing Up to Disk Images
    [Show full text]
  • ADOBE INDESIGN CS6 SCRIPTING TUTORIAL  2012 Adobe Systems Incorporated
    ADOBE® INDESIGN® CS6 ADOBE INDESIGN CS6 SCRIPTING TUTORIAL 2012 Adobe Systems Incorporated. All rights reserved. Adobe® InDesign® CS6 Scripting Tutorial If this guide is distributed with software that includes an end user agreement, this guide, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe Systems Incorporated. Please note that the content in this guide is protected under copyright law even if it is not distributed with software that includes an end user license agreement. The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe Systems Incorporated. Adobe Systems Incorporated assumes no responsibility or liability for any errors or inaccuracies that may appear in the informational content contained in this guide. Please remember that existing artwork or images that you may want to include in your project may be protected under copyright law. The unauthorized incorporation of such material into your new work could be a violation of the rights of the copyright owner. Please be sure to obtain any permission required from the copyright owner. Any references to company names in sample templates are for demonstration purposes only and are not intended to refer to any actual organization.
    [Show full text]
  • Openstep User Interface Guidelines
    OpenStep User Interface Guidelines 2550 Garcia Avenue Mountain View, CA 94043 U.S.A. Part No: 802-2109-10 A Sun Microsystems, Inc. Business Revision A, September 1996 1996 Sun Microsystems, Inc. 2550 Garcia Avenue, Mountain View, California 94043-1100 U.S.A. All rights reserved. Portions Copyright 1995 NeXT Computer, Inc. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Portions of this product may be derived from the UNIX® system, licensed from UNIX System Laboratories, Inc., a wholly owned subsidiary of Novell, Inc., and from the Berkeley 4.3 BSD system, licensed from the University of California. Third-party font software, including font technology in this product, is protected by copyright and licensed from Sun's suppliers. This product incorporates technology licensed from Object Design, Inc. RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013 and FAR 52.227-19. The product described in this manual may be protected by one or more U.S. patents, foreign patents, or pending applications. TRADEMARKS Sun, Sun Microsystems, the Sun logo, SunSoft, the SunSoft logo, Solaris, SunOS, and OpenWindows are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries.
    [Show full text]
  • Adopting the Aqua Interface
    INSIDE MAC OS X Adopting the Aqua Interface Updated for Mac OS X Public Beta Release. 9/8/00 © Apple Computer, Inc. 2000 Apple Computer, Inc. Even though Apple has reviewed this © 2000 Apple Computer, Inc. manual, APPLE MAKES NO All rights reserved. WARRANTY OR REPRESENTATION, EITHER EXPRESS OR IMPLIED, WITH No part of this publication may be RESPECT TO THIS MANUAL, ITS reproduced, stored in a retrieval QUALITY, ACCURACY, system, or transmitted, in any form or MERCHANTABILITY, OR FITNESS by any means, mechanical, electronic, FOR A PARTICULAR PURPOSE. AS A photocopying, recording, or RESULT, THIS MANUAL IS SOLD “AS otherwise, without prior written IS,” AND YOU, THE PURCHASER, ARE permission of Apple Computer, Inc., ASSUMING THE ENTIRE RISK AS TO with the following exceptions: Any ITS QUALITY AND ACCURACY. person is hereby authorized to store documentation on a single computer IN NO EVENT WILL APPLE BE LIABLE for personal use only and to print FOR DIRECT, INDIRECT, SPECIAL, copies of documentation for personal INCIDENTAL, OR CONSEQUENTIAL use provided that the documentation DAMAGES RESULTING FROM ANY contains Apple’s copyright notice. DEFECT OR INACCURACY IN THIS The Apple logo is a trademark of MANUAL, even if advised of the Apple Computer, Inc. possibility of such damages. Use of the “keyboard” Apple logo THE WARRANTY AND REMEDIES SET (Option-Shift-K) for commercial FORTH ABOVE ARE EXCLUSIVE AND purposes without the prior written IN LIEU OF ALL OTHERS, ORAL OR consent of Apple may constitute WRITTEN, EXPRESS OR IMPLIED. No trademark infringement and unfair Apple dealer, agent, or employee is competition in violation of federal authorized to make any modification, and state laws.
    [Show full text]
  • Introducing Javascript OSA
    Introducing JavaScript OSA Late Night SOFTWARE Contents CHAPTER 1 What is JavaScript OSA?....................................................................... 1 The OSA ........................................................................................................................ 2 Why JavaScript? ............................................................................................................ 3 CHAPTER 2 JavaScript Examples.............................................................................. 5 Learning JavaScript ....................................................................................................... 6 Sieve of Eratosthenes..................................................................................................... 7 Word Histogram Example ............................................................................................. 8 Area of a Polygon .......................................................................................................... 9 CHAPTER 3 The Core Object ................................................................................... 13 Talking to the User ...................................................................................................... 14 Places ........................................................................................................................... 14 Where Am I?................................................................................................................ 14 Who Am I? .................................................................................................................
    [Show full text]