Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!husc6!cmcl2!ccnysci!alexis From: alexis@ccnysci.UUCP (Alexis Rosen) Newsgroups: comp.sys.mac.programmer Subject: Re: File and Folder Comments? Message-ID: <1333@ccnysci.UUCP> Date: 26 Feb 89 07:15:36 GMT References: <1263@husc6.harvard.edu> Reply-To: alexis@ccnysci.UUCP (Alexis Rosen) Organization: City College of New York Lines: 23 [Rich asks about programmatically accessing finder comments] As far as I know this has never been possible. After all, when not in the Finder, the DeskTop file is closed (ignore MultiFinder for the moment) and those calls certainly aren't going to open it for you. I suspect that this will change sometime in the future, when the revised DTM init is universal, and MultiFinder is always active (and thus the DT files will always be open). Alternatively, Apple might drop the file comments altogether. This seems quite possible, now that we have 'vers' resources. Perhaps you should consider just looking for 'vers' 0, and then for the signature resource if you can't find that and it's an app. (BTW, I wouldn't write code to parse the DTM init desktop files, as it is possible- no, likely- that they will change if/when Apple comes out with the revised resource manager, which could be as early as August. I know that those files don't use the Resource Manager now, but if the RM is altered in such a major way as it will be, it may be used for all sorts of things, like the Desktop file again.) Alexis Rosen alexis@ccnysci.uucp