Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!ll-xn!mit-eddie!mit-vax!jtl From: jtl@mit-vax.LCS.MIT.EDU (Joseph T. LaRocca) Newsgroups: comp.sys.mac Subject: Re: Icons and LSC (the answer is here!) Message-ID: <1703@mit-vax.LCS.MIT.EDU> Date: Tue, 3-Mar-87 19:07:58 EST Article-I.D.: mit-vax.1703 Posted: Tue Mar 3 19:07:58 1987 Date-Received: Mon, 9-Mar-87 20:15:07 EST Organization: MIT LCS, Cambridge, MA Lines: 44 1.) Register your 4 byte signature with Apple Developer Services. If your 4 byte signature conflicts with one that someone is already using, you'll screw things up for users. 2.) After Apple has okayed it: 3.) Tell LSC V.2 the 4 byte signature of the application. [The signature from step 1. You can also use resedit to set this] 4.) In the application.RSRC file have: a.) a short resource of the same type as the signature (any id will do. I use 0) any contents will do. I use a string with my name. b.) a BNDL resource with (1) that signature (2) an ICN# with local id 128 and other id 128 (3) a FREF with local id 128 and other id 128 c.) an FREF 128 resource with the file type set to APPL and the id to 128 d.) an ICN# 128 resource with the icon and mask of your choice. Remember that if you play games with the mask, like LightSpeed C does, your icon will look crummy when the user drags it to the desktop. 5.) Build the application. Still no icon? the finder is probably still confused by your old mistakes. [ Not surprised; so was I ] Copy the application onto a fresh, and otherwise empty floppy. Drag the image of the floppy to the trashcan to make the Mac forget about it. While holding down both the