Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!tank!sas1 From: sas1@tank.uchicago.edu (stuart austin schmukler) Newsgroups: comp.sys.mac.programmer Subject: Re: File and Folder Comments? Message-ID: <2217@tank.uchicago.edu> Date: 10 Mar 89 07:19:50 GMT References: <1263@husc6.harvard.edu> <1333@ccnysci.UUCP> <922@lts.UUCP> Reply-To: sas1@tank.uchicago.edu (stuart austin schmukler) Organization: University of Chicago Lines: 30 From the deep mists of time (aka LISA development days) I remember that the Finder of those da kept the Comments in resources hashed into the Desktop file. I just got into Resedit under multifinder and found-out that FCMT's are still around in the desktop file. In fact there is a TMPL for the resource in my version of ResEdit. (This comes as a suprize because Apple didn't really want to tell use about FCMT's in the fist place, but you know Apple.) Now there are a few more problems: - I have forgot the hash function you need to get at the FCMT for a particlur file. (The code in at my old job, maybe on LISA disks.) I do recall that it was (is) NOT one-to-one. So, different filenames can map to the same FCMT resource number. -I noticed that under MF the DeskTop file is Locked for any open folder. I'll look in the pile of disks and ask if the guy who started programming the project has the source code. Apple did not want us poking around in the FCMT's for two reasons: -The format, etc may change. -The FCMT 'should be under the control of the user'. We were thinking of putting information in there. Finially, the FCMT has an odd limit on the number of characters in the text string, something like 253. SaS