draphsor@elaine39.Stanford.EDU (Matt Rollefson) (05/27/91)
Ok, guys, here's one I don't think anyone's mentioned yet. 1. Take a generic text file (ie one with no special type or creator). 2. Paste a personalized icon into the file in the get info view. 3. Open the text file with your favorite editor (I used word), make a change, and save the file (which now has the type and creator appropriate for a document in word). 4. Note that file now has generic document icon - not your special one, not the one it 'should' have according to its type and creator. 5. Attempt to remedy this situation by pasting a new personal icon in in 'get info'. 6. Admire the dialog box telling you the operation couldn't be completed because an error of type -39 occured. So, do I get a prize or what? :) -- Draphsor vo'drun-Aelf draphsor@leland.stanford.edu
slandrum@ntg.com (Stephen Landrum) (06/02/91)
In article <draphsor.675314910@elaine39.Stanford.EDU> draphsor@elaine39.Stanford.EDU (Matt Rollefson) writes: >Ok, guys, here's one I don't think anyone's mentioned yet. > >1. Take a generic text file (ie one with no special type or creator). >2. Paste a personalized icon into the file in the get info view. >3. Open the text file with your favorite editor (I used word), make a >change, and save the file (which now has the type and creator >appropriate for a document in word). >4. Note that file now has generic document icon - not your special one, >not the one it 'should' have according to its type and creator. >5. Attempt to remedy this situation by pasting a new personal icon in in >'get info'. >6. Admire the dialog box telling you the operation couldn't be completed >because an error of type -39 occured. > >So, do I get a prize or what? :) > >-- >Draphsor vo'drun-Aelf draphsor@leland.stanford.edu I believe that there are two problems. One is Word's - It is removing the resources that were in the file when it saves it back out. (Word should not touch resources that it doesn't understand.) This is what makes the icon go back to a generic state. The file still has the 'Use custon icon' bit set and the Finder gets the error of type -39 (End of file) when you try to delete or paste over the custom icon when it doesn't really exist. To get the file back to acting normally, use Resedit 2.1, and uncheck the 'Use custom icon' bit in the file info. -- Stephen H. Landrum VOICE: (415) 813-8909 Domain: slandrum@ntg.com UUCP: ...apple!ntg!slandrum USNAIL: New Technologies Group Inc. 2468 Embarcardero Way, Palo Alto CA 94303