Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!claris!UUCP!peirce From: peirce@outpost.UUCP (Michael Peirce) Newsgroups: comp.sys.mac.programmer Subject: Re: Chooser name Message-ID: <0B01FFFB.fcxnhm@outpost.UUCP> Date: 11 May 91 16:36:55 GMT Reply-To: peirce@outpost.UUCP (Michael Peirce) Organization: Peirce Software Lines: 19 X-Mailer: uAccess - Mac Release: 1.1.b3 In article <1991May10.215035.28352@informatics.wustl.edu>, kahn@informatics.wustl.edu (Michael Kahn) writes: > How do I get the current Chooser name in MPW Pascal and ThinkC 4.0? I > can't find i Toolbox call for it documented anywhere in Inside > Macintosh or in any of the Tech Notes. Have I missed it? The Chooser name is stored in the system file as STR ID = -16096. You can fetch it using the GetString(-16413) trap which returns a handle to the string. Note that in System 7, they've modified this scheme somewhat. Rather than a "Chooser Name", there are now two names: a "Owner Name" stored in STR ID = -16096 and a "Macintosh Name" stored in STR ID = -16413. -- michael -- Michael Peirce -- outpost!peirce@claris.com -- Peirce Software -- Suite 301, 719 Hibiscus Place -- Macintosh Programming -- San Jose, California 95117 -- & Consulting -- (408) 244-6554, AppleLink: PEIRCE