Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!decwrl!claris!outpost.UUCP!peirce From: peirce@outpost.UUCP (Michael Peirce) Newsgroups: comp.sys.mac.programmer Subject: Re: Using "Get Info" comment field? Message-ID: <0B010004.awe06a@outpost.UUCP> Date: 28 Mar 91 15:31:19 GMT Reply-To: peirce@outpost.UUCP Organization: Peirce Software Lines: 21 X-Mailer: uAccess - Mac Release: 1.0.3 In article <1991Mar27.220137.3664@vax5.cit.cornell.edu>, l4oj@vax5.cit.cornell.edu writes: > > > I've written a C program for MS-DOS that I am porting to the Macintosh. > It uses some command-line arguments. It appears that it might be possible > to grab the "Get Info" comments string, and use this as the command line. > (It took a long time of wading through "Inside the Macintosh" to figure > out where this is stored). Of course, this is nonstandard and probably > will be impossible with System 7.0, ... ^^^^^^^^^^^^^^^^^^^^^^^^^^ Actually System 7 supports calls to read and write the Get Info comments without resorting to hacks. If you can get ahold of Inside Mac Vol VI, it's documented in there. -- 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