Path: utzoo!attcan!uunet!munnari!bruce!goanna!ckl From: ckl@goanna.oz (Chee Kheong Lin) Newsgroups: comp.sys.mac.programmer Subject: Changing icons using resedit (again!) Message-ID: <1776@goanna.oz> Date: 17 Nov 88 00:09:51 GMT Organization: Comp Sci, RMIT, Melbourne, Australia Lines: 26 OK, here we go again. A few weeks ago I asked for some info on how to built my own icon for my application program. Thank you to all those who took the time and trouble to reply. That part works fine now. Now I want to associate an icon with a text documnent which the application program creates. And I also want to be able to open that text document by just double-clicking on it. I've gone thru the usual procedure of creating icon, creating a FREF record for it, setting the type to 'TEXT', adding the id to the resource BNDL. But when I create a new document from my application program, it still uses the normal document icon. I did a 'Get Info' on that document in ResEdit and found that the creator field is empty. But when I changed that field into the name of my autograph, it works fine. I suspect the problem is that it can't find the name of my autograph. How do I get it to find the name?? Have I missed something?? Thanx in advance. Chee Kheong Lin +------------------------------------------------------------------------+ |Dept. of Computer Science ACSnet: ckl@goanna.cs.rmit.oz.au | |124 La Trobe Street CSNET: ckl%goanna.cs.rmit.oz.au@australia | |Melbourne ARPA: ckl%goanna.cs.rmit.oz.au@uunet.uu.net| |Victoria UUCP: ...!uunet!goanna.cs.rmit.oz.au!ckl | |Australia 3000. | +------------------------------------------------------------------------+