Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!claris!outpost.UUCP!peirce From: peirce@outpost.UUCP (Michael Peirce) Newsgroups: comp.sys.mac.programmer Subject: Re: Chooser Name? Message-ID: <0B010004.8qur8s@outpost.UUCP> Date: 9 Feb 91 04:42:34 GMT Reply-To: peirce@outpost.UUCP Organization: Peirce Software Lines: 24 X-Mailer: uAccess - Mac Release: 1.0.3 In article <1991Feb8.134003.2622@vax5.cit.cornell.edu>, yomy@vax5.cit.cornell.edu writes: > > I thought that I remembered seeing this somewhere, so excuse me if this has > already been discussed. How do you find out what the chooser name is of the > computer your program is running on. I can't seem to find this anywhere in > inside Mac. For what it's worth I am programming in Pascal. VAR userName : stringHandle; userName := GetString(-16096); It's stored as a string ("STR ") resource in the System file. -- 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 -- Ask me about AppSizer (and ask Claris about Public Folder :-)