Develop-22 9506 June 1995.Pdf

Total Page:16

File Type:pdf, Size:1020Kb

Develop-22 9506 June 1995.Pdf develop E D I T O R I A L S T A F F T H I N G S T O K N O W C O N T A C T I N G U S Editor-in-Cheek Caroline Rose develop, The Apple Technical Feedback. Send editorial suggestions Managing Editor Toni Moccia Journal, a quarterly publication of or comments to Caroline Rose at Technical Buckstopper Dave Johnson Apple Computer’s Developer Press AppleLink CROSE, Internet group, is published in March, June, [email protected], or fax Bookmark CD Leader Alex Dosher September, and December. develop (408)974-6395. Send technical Able Assistant Meredith Best articles and code have been reviewed questions about develop to Dave Our Boss Greg Joswiak for robustness by Apple engineers. Johnson at AppleLink JOHNSON.DK, His Boss Dennis Matthews Internet [email protected], CompuServe This issue’s CD. Subscription issues Review Board Pete “Luke” Alexander, Dave 75300,715, or fax (408)974-6395. Or of develop are accompanied by the Radcliffe, Jim Reekes, Bryan K. “Beaker” write to Caroline or Dave at Apple develop Bookmark CD. This CD contains Ressler, Larry Rosenstein, Andy Shebanow, Computer, Inc., 1 Infinite Loop, M/S a subset of the materials on the monthly Gregg Williams 303-4DP, Cupertino, CA 95014. Developer CD Series, available from Contributing Editors Lorraine Anderson, APDA. Included on the CD are this Article submissions. Ask for our Steve Chernicoff, Toni Haskell, Jody Larson, issue and all back issues of develop along Author’s Guidelines and a submission Cheryl Potter with the code that the articles describe. form at AppleLink DEVELOP, Indexer Marc Savage (The code is updated periodically, so Internet [email protected], always use the most recent CD.) The or fax (408)974-6395. Or write to A R T & P R O D U C T I O N CD also contains Technical Notes, Caroline Rose at the above address. Production Manager Diane Wilcox sample code, and other documentation and tools (these contents are subject to Subscriptions and back issues. Technical Illustration Deb Dennis, Shawn change). Items referred to as being on You can subscribe to develop through Morningstar, John Ryan “this issue’s CD” are located on either APDA (see below) or use the Formatting Forbes Mill Press the Bookmark CD or the Reference subscription card in this issue. You can Photography Sharon Beals, Deb Dennis, Library or Tool Chest edition of the also order printed back issues. For Maggie Fishell Developer CD Series. The develop issues subscription changes or queries or back Cover Illustration Graham Metcalfe of and code are also available in the issue orders, call 1-800-877-5548 in Metcalfe/Shuhert Design; modeled and Developer Services areas on AppleLink the U.S., (815)734-1116 outside the rendered in Strata StudioPro and eWorld and at ftp.info.apple.com. U.S. Or write AppleLink DEV.SUBS or Online Production Cassi Carpenter (Selected articles are on the World Internet [email protected]. Wide Web at http://www.apple.com, Be sure to include your name, address, and account number as it appears on your mailing ISSN #1047-0735. © 1995 Apple Computer, Inc. also in the Developer Services area.) All rights reserved. Apple, the Apple logo, APDA, label in all correspondence related to your AppleLink, AppleScript, AppleShare, AppleTalk, Macintosh Technical Notes. subscription. One-year U.S. subscription LaserWriter, Mac, MacApp, Macintosh, Macintosh Where references to Macintosh price is $30 for 4 issues of develop and the Quadra, MacTCP, MPW, MultiFinder, Newton, Technical Notes in develop are followed develop Bookmark CD; all other countries, PowerBook, QuickTime, and TrueType are trademarks by something like “(QT 4),” this $50 U.S. For Canadian orders, price of Apple Computer, Inc., registered in the U.S. and other countries. AOCE, AppleScript, A/ROSE, indicates the category and number of includes GST (R100236199). Back issues Balloon Help, develop, Finder, NewtonMail, OpenDoc, the Note on this issue’s CD. (QT is the are $13 each in the U.S., $20 all other Power Macintosh, PowerTalk, and QuickDraw are QuickTime category.) countries. trademarks of Apple Computer, Inc. PostScript is a trademark of Adobe Systems Incorporated, which may E-mail addresses. Most e-mail APDA. To order products from APDA be registered in certain jurisdictions. PowerPC is a addresses mentioned in develop are or receive a catalog, call 1-800-282- trademark of International Business Machines AppleLink addresses; to convert one of 2732 in the U.S., 1-800-637-0029 in Corporation, used under license therefrom. NuBus is a trademark of Texas Instruments. UNIX is a registered these to an Internet address, append Canada, (716)871-6555 internationally, trademark of Novell, Inc. in the United States and “@applelink.apple.com” to it. For or (716)871-6511 for fax. Order other countries, licensed exclusively through X/Open example, DEVELOP on AppleLink electronically at AppleLink APDA, Company, Ltd. All other trademarks are the property becomes [email protected] Internet [email protected], of their respective owners. on the Internet. Append “@eworld.com” CompuServe 76666,2405, or America to eWorld addresses, and append Online APDAorder. Or write APDA, “@online.apple.com” to NewtonMail Apple Computer, Inc., P.O. Box 319, Printed on recycled paper addresses. Buffalo, NY 14207-0319. Issue 22 June 1995 A R T I C L E S 6 QuickDraw 3D: A New Dimension for Macintosh Graphics by Pablo Fernicola and Nick Thompson Introducing QuickDraw 3D, a powerful, flexible new 3D graphics package for the Power Macintosh. This article provides an architectural overview and shows how to support 3D data in your application. 29 Copland: The Mac OS Moves Into the Future by Tim Dierks Here’s a preview of the future of the Mac OS, detailing some of the major features and components and giving some suggestions about how to get ready for it now. 42 Creating PCI Device Drivers by Martin Minow All about the new driver model on PCI-based Macintosh computers, and advice on porting existing drivers. 66 Custom Color Search Procedures by Jim Wintermyre Learn about this useful method of customizing Color QuickDraw’s color handling. A real-world graphics problem is investigated and then solved using a custom color search procedure and a hash table. 83 The OpenDoc User Experience by Dave Curbow and Elizabeth Dykstra-Erickson This article provides an overview of OpenDoc from the user’s perspective: understanding the user experience is a prerequisite to designing good part editors. 98 Futures: Don’t Wait Forever by Greg Anderson Futures are an invaluable abstraction for applications that handle multiple asynchronous Apple events, allowing cleaner code and eliminating the need for completion routines. C O L U M N S 39 BALANCE OF POWER 112 MACINTOSH Q & A MacsBug for PowerPC Apple’s Developer Support Center answers by Dave Evans and Jim Murphy questions about Macintosh product MacsBug changes with the times. development. 63 MPW TIPS AND TRICKS 121 NEWTON Q & A: ASK THE LLAMA Building a Better (Development) Environment Answers to Newton-related development by Tim Maroney questions, along with a bit of llama lore. Send Some things to think about when you’re in your own questions for a chance at a T-shirt. building a shared development environment. 124 KON AND BAL’S PUZZLE PAGE 81 ACCORDING TO SCRIPT A Branch Too Far Scripting Quandaries by Chris Yerga by Cal Simone Yet another multifaceted mystery is unraveled Bits of wisdom and advice for developers before your very eyes, as guest puzzler Chris supporting scripting in their applications. Yerga tries to stump the master. 94 THE VETERAN NEOPHYTE Paper Juggling by Dave Johnson 2 EDITOR’S NOTE You can invent multiperson juggling patterns 3 LETTERS even if you’re not a juggler. Really. 130 INDEX CONTENTS 1 EDITOR’S NOTE This is a very forward-looking issue of develop. The cover article is on QuickDraw 3D, whose final release won’t have shipped by the time you read this (though it should be soon). We’ve also got articles on Copland and OpenDoc, which aren’t due for final release for a while yet. You’ll learn how Copland will take the Mac OS into the future and how OpenDoc will affect the way users work with documents. There’s an article on creating PCI device drivers that will be — as far as we can tell as of this writing — forward compatible with Copland. And we’ve got an article on the very subject of futures, a convenient way of implementing asynchronous interapplication communication, which will be especially valuable as more applications become scriptable and as component-oriented systems like OpenDoc become more prevalent. All in all, we’re looking ahead. Having articles on technology that hasn’t shipped yet makes it tough for us to give you CAROLINE ROSE solid information and code that we know will withstand the test of time and not change in the future. QuickDraw 3D is shipping soon enough that we know that article and its code are reasonably solid — but the software is “beta” as of this writing, so changes can still happen. The Copland and OpenDoc articles provide only background information that should prove helpful as you consider how to use those technologies in your work; these articles provide no code, but only a context for the respective technologies. And although the PCI article does its best to tell you what may or may not work with Copland, there are limits to how far it can see into the future. While it’s certainly atypical to have develop articles that aren’t based on good, solid code, we felt these articles would nonetheless be of interest to you.
Recommended publications
  • Mac OS 8 Update
    K Service Source Mac OS 8 Update Known problems, Internet Access, and Installation Mac OS 8 Update Document Contents - 1 Document Contents • Introduction • About Mac OS 8 • About Internet Access What To Do First Additional Software Auto-Dial and Auto-Disconnect Settings TCP/IP Connection Options and Internet Access Length of Configuration Names Modem Scripts & Password Length Proxies and Other Internet Config Settings Web Browser Issues Troubleshooting • About Mac OS Runtime for Java Version 1.0.2 • About Mac OS Personal Web Sharing • Installing Mac OS 8 • Upgrading Workgroup Server 9650 & 7350 Software Mac OS 8 Update Introduction - 2 Introduction Mac OS 8 is the most significant update to the Macintosh operating system since 1984. The updated system gives users PowerPC-native multitasking, an efficient desktop with new pop-up windows and spring-loaded folders, and a fully integrated suite of Internet services. This document provides information about Mac OS 8 that supplements the information in the Mac OS installation manual. For a detailed description of Mac OS 8, useful tips for using the system, troubleshooting, late-breaking news, and links for online technical support, visit the Mac OS Info Center at http://ip.apple.com/infocenter. Or browse the Mac OS 8 topic in the Apple Technical Library at http:// tilsp1.info.apple.com. Mac OS 8 Update About Mac OS 8 - 3 About Mac OS 8 Read this section for information about known problems with the Mac OS 8 update and possible solutions. Known Problems and Compatibility Issues Apple Language Kits and Mac OS 8 Apple's Language Kits require an updater for full functionality with this version of the Mac OS.
    [Show full text]
  • Inspiring Mathematical Creativity Through Juggling
    Journal of Humanistic Mathematics Volume 10 | Issue 2 July 2020 Inspiring Mathematical Creativity through Juggling Ceire Monahan Montclair State University Mika Munakata Montclair State University Ashwin Vaidya Montclair State University Sean Gandini Follow this and additional works at: https://scholarship.claremont.edu/jhm Part of the Arts and Humanities Commons, and the Mathematics Commons Recommended Citation Monahan, C. Munakata, M. Vaidya, A. and Gandini, S. "Inspiring Mathematical Creativity through Juggling," Journal of Humanistic Mathematics, Volume 10 Issue 2 (July 2020), pages 291-314. DOI: 10.5642/ jhummath.202002.14 . Available at: https://scholarship.claremont.edu/jhm/vol10/iss2/14 ©2020 by the authors. This work is licensed under a Creative Commons License. JHM is an open access bi-annual journal sponsored by the Claremont Center for the Mathematical Sciences and published by the Claremont Colleges Library | ISSN 2159-8118 | http://scholarship.claremont.edu/jhm/ The editorial staff of JHM works hard to make sure the scholarship disseminated in JHM is accurate and upholds professional ethical guidelines. However the views and opinions expressed in each published manuscript belong exclusively to the individual contributor(s). The publisher and the editors do not endorse or accept responsibility for them. See https://scholarship.claremont.edu/jhm/policies.html for more information. Inspiring Mathematical Creativity Through Juggling Ceire Monahan Department of Mathematical Sciences, Montclair State University, New Jersey, USA
    [Show full text]
  • Develop-21 9503 March 1995.Pdf
    develop E D I T O R I A L S T A F F T H I N G S T O K N O W C O N T A C T I N G U S Editor-in-Cheek Caroline Rose develop, The Apple Technical Feedback. Send editorial suggestions Managing Editor Toni Moccia Journal, a quarterly publication of or comments to Caroline Rose at Technical Buckstopper Dave Johnson Apple Computer’s Developer Press AppleLink CROSE, Internet group, is published in March, June, [email protected], or fax Bookmark CD Leader Alex Dosher September, and December. develop (408)974-6395. Send technical Able Assistants Meredith Best, Liz Hujsak articles and code have been reviewed questions about develop to Dave Our Boss Greg Joswiak for robustness by Apple engineers. Johnson at AppleLink JOHNSON.DK, His Boss Dennis Matthews Internet [email protected], CompuServe This issue’s CD. Subscription issues Review Board Pete “Luke” Alexander, Dave 75300,715, or fax (408)974-6395. Or of develop are accompanied by the Radcliffe, Jim Reekes, Bryan K. “Beaker” write to Caroline or Dave at Apple develop Bookmark CD. The Bookmark Ressler, Larry Rosenstein, Andy Shebanow, Computer, Inc., One Infinite Loop, CD contains a subset of the materials Gregg Williams M/S 303-4DP, Cupertino, CA 95014. on the monthly Developer CD Series, Contributing Editors Lorraine Anderson, which is available from APDA. Article submissions. Ask for our Steve Chernicoff, Toni Haskell, Judy Included on the CD are this issue and Author’s Guidelines and a submission Helfand, Cheryl Potter all back issues of develop along with the form at AppleLink DEVELOP, Indexer Marc Savage code that the articles describe.
    [Show full text]
  • 4010, 237 8514, 226 80486, 280 82786, 227, 280 a AA. See Anti-Aliasing (AA) Abacus, 16 Accelerated Graphics Port (AGP), 219 Acce
    Index 4010, 237 AIB. See Add-in board (AIB) 8514, 226 Air traffic control system, 303 80486, 280 Akeley, Kurt, 242 82786, 227, 280 Akkadian, 16 Algebra, 26 Alias Research, 169 Alienware, 186 A Alioscopy, 389 AA. See Anti-aliasing (AA) All-In-One computer, 352 Abacus, 16 All-points addressable (APA), 221 Accelerated Graphics Port (AGP), 219 Alpha channel, 328 AccelGraphics, 166, 273 Alpha Processor, 164 Accel-KKR, 170 ALT-256, 223 ACM. See Association for Computing Altair 680b, 181 Machinery (ACM) Alto, 158 Acorn, 156 AMD, 232, 257, 277, 410, 411 ACRTC. See Advanced CRT Controller AMD 2901 bit-slice, 318 (ACRTC) American national Standards Institute (ANSI), ACS, 158 239 Action Graphics, 164, 273 Anaglyph, 376 Acumos, 253 Anaglyph glasses, 385 A.D., 15 Analog computer, 140 Adage, 315 Anamorphic distortion, 377 Adage AGT-30, 317 Anatomic and Symbolic Mapper Engine Adams Associates, 102 (ASME), 110 Adams, Charles W., 81, 148 Anderson, Bob, 321 Add-in board (AIB), 217, 363 AN/FSQ-7, 302 Additive color, 328 Anisotropic filtering (AF), 65 Adobe, 280 ANSI. See American national Standards Adobe RGB, 328 Institute (ANSI) Advanced CRT Controller (ACRTC), 226 Anti-aliasing (AA), 63 Advanced Remote Display Station (ARDS), ANTIC graphics co-processor, 279 322 Antikythera device, 127 Advanced Visual Systems (AVS), 164 APA. See All-points addressable (APA) AED 512, 333 Apalatequi, 42 AF. See Anisotropic filtering (AF) Aperture grille, 326 AGP. See Accelerated Graphics Port (AGP) API. See Application program interface Ahiska, Yavuz, 260 standard (API) AI.
    [Show full text]
  • Develop-19 9408 September 1994.Pdf
    develop E D I T O R I A L S T A F F T H I N G S T O K N O W C O N T A C T I N G U S Editor-in-Cheek Caroline Rose develop, The Apple Technical Feedback. Send editorial suggestions Managing Editor Cynthia Jasper Journal, a quarterly publication of or comments to Caroline Rose at Technical Buckstopper Dave Johnson Apple Computer’s Developer Press AppleLink CROSE, Internet Bookmark CD Leader Alex Dosher group, is published in March, June, [email protected], or fax September, and December. develop (408)974-6395. Send technical Our Boss Greg Joswiak articles and code have been reviewed questions about develop to Dave His Boss Dennis Matthews for robustness by Apple engineers. Johnson at AppleLink JOHNSON.DK, Review Board Pete (“Luke”) Alexander, Dave Internet [email protected], CompuServe Radcliffe, Jim Reekes, Bryan K. (“Beaker”) This issue’s CD. Subscription issues 75300,715, or fax (408)974-6395. Or Ressler, Larry Rosenstein, Andy Shebanow, of develop are accompanied by the write to Caroline or Dave at Apple Gregg Williams develop Bookmark CD. The Bookmark Computer, Inc., One Infinite Loop, Contributing Editors Lorraine Anderson, CD contains a subset of the materials M/S 303-4DP, Cupertino, CA 95014. Steve Chernicoff, Toni Haskell, Judy on the monthly Developer CD Series, Helfand, Jody Larson, Joe Williams which is available from APDA. Article submissions. Ask for our Indexer Marc Savage Included on the CD are this issue and Author’s Guidelines and a submission all back issues of develop along with the form at AppleLink DEVELOP, A R T & P R O D U C T I O N code that the articles describe.
    [Show full text]
  • Pooch Manual In
    What’s New As of August 21, 2011, Pooch is updated to version 1.8.3 for use with OS X 10.7 “Lion”: Pooch users can renew their subscriptions today! Please see http://daugerresearch.com/pooch for more! On November 17, 2009, Pooch was updated to version 1.8: • Linux: Pooch can now cluster nodes running 64-bit Linux, combined with Mac • 64-bit: Major internal revisions for 64-bit, particularly updated data types and structures, for Mac OS X 10.6 "Snow Leopard" and 64-bit Linux • Sockets: Major revisions to internal networking to adapt to BSD Sockets, as recommended by Apple moving forward and required for Linux • POSIX Paths: Major revisions to internal file specification format in favor of POSIX paths, recommended by Apple moving forward and required for Linux • mDNS: Adapted usage of Bonjour service discovery to use Apple's Open Source mDNS library • Pooch Binary directory: Added Pooch binary directory support, making possible launching jobs using a remotely-compiled executable • Minor updates and fixes needed for Mac OS X 10.6 "Snow Leopard" Current Pooch users can renew their subscriptions today! Please see http://daugerresearch.com/pooch for more! On April 16, 2008, Pooch was updated to version 1.7.6: • Mac OS X 10.5 “Leopard” spurs updates in a variety of Pooch technologies: • Network Scan window • Preferences window • Keychain access • Launching via, detection of, and commands to the Terminal • Behind the Login window behavior • Other user interface and infrastructure adjustments • Open MPI support: • Complete MPI support using libraries
    [Show full text]
  • Rage 128 Ss Ä
    RAGE ™128 Next Generation 3D and Multimedia Accelerator RAGE 128 GL for OpenGL Workstations and high-end entertainment PCs overview RAGE 128 VR ideal for stunning 2D & 3D performance on Mainstream PCs The ATI RAGE 128 is a fully integrated, ADVANCED 3D FEATURES 128-bit graphics and multimedia accelerator RAGE 128 is optimized for both DX6 and that offers leading-edge performance in all OpenGL acceleration. It provides full First chip to support new three vectors of visual computing: 3D, 2D, support of Direct3D texture lighting and and video. second-generation texture compositing. DDR SGRAM and popular Special effects such as complete alpha STUNNING PERFORMANCE blending, vertex and table-based fog, SDRAM memories RAGE 128 couples an advanced 128-bit video textures, texture lighting, reflections, engine with ATI's new SuperScalar shadows, spotlights, bump mapping, LOD Rendering technology (SSR) to provide biasing, and texture morphing are available. Optional support for TV-out stunningly fast 2D and 3D performance. AGP configurations can use system memory ATI's unique Twin-Cache Architecture (TCA) for additional textures. Hidden surface and Video Capture, enabling incorporates texture and pixel cache to removal uses 16, 24, or 32-bit Z-buffering. increase the effective memory bandwidth for "Broadcast PC" systems extra performance. The new Single-Pass NEW DIRECTX 6.0 FEATURES Multi Texturing (SMT) capability enables The RAGE 128 is ideally matched with ( advanced 3D effects like texturing, lighting DirectX 6.0, supporting new DirectX features and shading at full performance. The chip such as multitexturing, stencil planes, bump also incorporates ATI's new Concurrent mapping, vertex buffers, and direct walk of Command Engine (CCE), which takes full Direct3D/OpenGL vertex list.
    [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]
  • Important for All Apple Printing and Graphics Developers: the Information in This Technote Is Still Relevant up to and Including
    TN 1057 - Querying PS Printers at dtp Creation Time the GX Page: 1 Way NOTE: This Technical Note has been retired. Please see the Technical Notes page for current documentation. CONTENTS Important for all Apple Printing and Graphics Developers: Necessary Requirements for Querying Your Printer Implementing Message Overrides The information in this Technote is still relevant up to and including Mac OS 7.6 Additional Dialog Handling Functions with QuickDraw GX 1.1.5. Beginning with The Query Code the release of Mac OS 8.0, however, Apple plans to deliver a system which Summary incorporates QuickDraw GX graphics and typography only. QuickDraw GX printer References drivers and GX printing extensions will Downloadables not be supported in Mac OS 8.0 or in future Mac OS releases. Apple's goal is to simplify the user experience of printing by unifying the Macintosh graphic and printing architectures and standardizing on the classic Printing Manager. For details on Apple's official announcement, refer to </technotes/gxchange.html> For some time now, Apple developers have asked how they can query their PostScript printers at dtp creation time using the same methods as the LaserWriter GX printer driver. This Technote discusses how the LaserWriter GX driver does it at query time and provides you with the printing messages you need to override in order to achieve the same functionality. You may need to change or add to the code TN 1057 - Querying PS Printers at dtp Creation Time the GX Page: 2 Way in this Note. For example, if you want to query for the number of paper trays or query for an envelope tray, you will need to modify this code, as explained later in this Note.
    [Show full text]
  • Introduction to Apple Events 3
    CHAPTER 3 Introduction to Apple Events 3 This chapter introduces Apple events and the Apple Event Manager. Later chapters describe how your application can use the Apple Event Manager to respond to and send Apple events, locate Apple event objects, and record Apple events. The interapplication communication (IAC) architecture for Macintosh computers consists of five parts: the Edition Manager, the Open Scripting Architecture (OSA), the Apple Event Manager, the Event Manager, and the Program-to-Program Communications (PPC) Toolbox. The chapter “Introduction to Interapplication Communication” in this book provides an overview of the relationships among these parts. The Apple Event Registry: Standard Suites defines both the actions performed by the standard Apple events, or “verbs,” and the standard Apple event object classes, which can be used to create “noun phrases” describing objects on which Apple events act. If your application uses the Apple Event Manager to respond to some of these standard Apple events, you can make it scriptable—that is, capable of responding to scripts written in a scripting language such as AppleScript. In addition, your application can 3 use the Apple Event Manager to create and send Apple events and to allow user actions Introduction to Apple Events in your application to be recorded as Apple events. Before you use this chapter or any of the other chapters about the Apple Event Manager, you should be familiar with the chapters “Event Manager” in Inside Macintosh: Macintosh Toolbox Essentials and “Process Manager” in Inside Macintosh: Processes. This chapter begins by describing Apple events and some of the data structures they contain.
    [Show full text]
  • SYSTEM SOFTWARE, MEMORY, and RESOURCES Includes Demonstration Program Sysmemres
    1 SYSTEM SOFTWARE, MEMORY, AND RESOURCES Includes Demonstration Program SysMemRes Macintosh System Software All Macintosh applications make many calls, for many purposes, to Macintosh system software functions. Such purposes include, for example, the creation of standard user interface elements such as windows and menus, the drawing of text and graphics, and the coordination of the application's actions with other open applications.1 The majority of system software functions are components of either the Macintosh Toolbox or the Macintosh Operating System. In essence: • Toolbox functions have to do with mediating your application with the user. They relate, in general, to the management of elements of the user interface. • Operating System functions have to do with mediating your application with the Macintosh hardware, performing such basic low-level tasks as file input and output, memory management and process and device control. Managers The entire collection of system software functions is further divided into functional groups which are usually known as managers.2 Toolbox The main Toolbox managers are as follows: QUICKDRAW WINDOW MANAGER DIALOG MANAGER CONTROL MANAGER MENU MANAGER TEXTEDIT EVENT MANAGER RESOURCE HELP MANAGER SCRAP MANAGER FINDER INTERFACE LIST MANAGER MANAGER SOUND MANAGER SOUND INPUT STANDARD FILE NAVIGATION APPEARANCE FOLDER MANAGER PACKAGE SERVICES MANAGER MANAGER Introduced with Mac OS 8.0. Note that Navigation Services renders Standard File Package obsolescent 1 The main other open application that an application needs to work with is the Finder, which is responsible for keeping track of files and managing the user’s desktop. The Finder is not really part of the system software, although it is sometimes difficult to tell where the Finder ends and the system software begins.
    [Show full text]
  • Volume 2, Number 9 September 23, 1996 [email protected] Cover
    About This Particular Macintosh™ 2.09: About the personal computing experience™ Volume 2, Number 9 September 23, 1996 Send requests for FREE subscriptions to: [email protected] Cover Art “OpenDoc” © 1996 Kevin Work: [email protected] http://www.shsu.edu/~stdklw03/ We need new cover art every month! Write to us! Contributors H.M. Fog Robert Paul Leitao Robert Madill Michael Tsai Macintosh users like you Please write for ATPM! Check out the Guidelines Staff Editor - Michael Tsai Managing Editor - Robert Paul Leitao Opinionated Associate Editor - Mike Shields Cover Story Editor - Vacant Associate Editor For Reviews - Michael Tsai Shareware Reviews Editor - Vacant Subscription Manager - Robert Paul Leitao Human Spell Checker - Belinda Wagner Webzinger - Evan Trent Beta Testers - The Staff In Charge of Design - Michael Tsai Typewriter Style Section Headers - RD Novo Blue Apple Icon Designs - Marc Robinson The Tools BBEdit 4.0.1 ClarisWorks 4.0v4 DOCMaker 4.6.1 Emailer 1.1v2 Illustrator 6 Kai’s PowerTools 3.1 Photoshop 3.0.5 SpellCatcher 1.5.6 The Fonts Cheltenham Cloister Garamond Geneva Gill Sans Helvetica Isla Bella Where to Find ATPM Online and downloadable issues are available at the new ATPM Web Page: http://www.museproductions.com/ATPM America Online : search “atpm” Italica BBS, La Coruna, Spain North Coast BBS NYMUG, New York City SenseNet, New York City Tulsa Info Mall BBS, Oklahoma Raven Net, British Columbia SpiderNet, Holland Speaker's Corner BBS, Jacksonville Info-Mac and all its Mirrors Any others? Let us know! © 1995-96, All Rights Reserved (Exceptions noted below) Reprints Articles and original art cannot be reproduced without the express permission of ATPM, unless otherwise noted.
    [Show full text]