Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!aoa!dean From: dean@aoa.UUCP (Dean Wormell) Newsgroups: comp.sys.mac Subject: Re: YAHQ (Yet Another Hypercard Question) Message-ID: <490@aoa.UUCP> Date: Tue, 20-Oct-87 14:17:18 EDT Article-I.D.: aoa.490 Posted: Tue Oct 20 14:17:18 1987 Date-Received: Wed, 21-Oct-87 22:51:52 EDT References: <1168@mipos3.intel.com> <2227@im4u.UUCP> Reply-To: dean@aoa.UUCP (Dean Wormell) Distribution: na Organization: Adaptive Optics Assoc., Cambridge, Mass. USA Lines: 48 Keywords: How to add ICONs to Hypercard Summary: Creating ICONS from ICN# A proficient Mac hacker taught me this method to turn an ICN# resource into an ICON resource which then can be installed into Hypercard (or any other application containing the ICON resource) using ResEdit. You need ResEdit, ResDecomp, a text editor, RMaker and some patience to complete the following procedure. First open the program which contains the desired icon using ResEdit. If the icon you desire is shown when you open the ICON resource of that program, you simply need to copy and paste that ICON into you destination program's ICON resource (i.e. Hypercard). If not, close the source program (Hypercard) inside of ResEdit and create a new file using the New command inside of ResEdit (name it anything you want). Now, open the ICN# resource in the source program then copy and paste the pictures of the desired icons into your new file. This step can be done for all the source program icons you desire, such that your new file will contain an ICN# resource with several different icons inside of this resource. Once you've created this new file with all the icons you want, save and close this file and quit ResEdit. Now the fun begins, use ResDecomp, or any other resource decompiling utility (do others exsist??) to open and decompile the ICN# resource of your new file. This creates a text file. Quit ResDecomp and open the text file with a text editor (Edit, MacWrite, MSWord, etc...). Do a search for occurrences of ICN# and replace them with ICON. Each resource will be divided into blocks of hex data; what you need to do is remove the LOWER half (or lower eight of sixteen lines) of hex data in each block. Once you have completed the last two steps for all the blocks of data in your text file, save the file as text and quit the editor. Now you need to open RMaker, or another resource compiling utility (do others exsist???) and compile the edited text file. Open this compiled file from ResEdit and PRESTO you now have all those icons as ICON resources which can be copied and pasted into your destination program's ICON resource (i.e. HyperCard). I know this is a little long winded and tedious, but I've done this for several ICONs that I wanted to use in HyperCard, and it works!! Good luck! -- Dean Wormell ...!{harvard,ima}!bbn!aoa!dean