Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!apple!sun-barr!newstop!texsun!smunews!ti-csl!m2!leeke From: leeke@m2.csc.ti.com (Steve Leeke) Newsgroups: comp.sys.mac.programmer Subject: Including DLOG and DITL resources with new ID's Message-ID: <105612@ti-csl.csc.ti.com> Date: 12 Jan 90 18:30:52 GMT Sender: news@ti-csl.csc.ti.com Organization: TI Computer Science Center, Dallas Lines: 23 I would like to be able to include some resources from a number of other files into the final resource file for my program, changing the included resources' IDs in the process. I'm using Rez so this is pretty easy. I'm using: include "foo" 'DITL' (128:999) as 'DITL' (ResourceOffset + $$ID); include "foo" 'DLOG' (128:999) AS 'DLOG' (ResourceOffset + $$ID); The problem arises in the DLOG resources since they also include a reference to the DITL to use - whose resource ID just changed. Since the ResourceOffset will change over time I'd like to figure out an automated way to update the DLOG resource using MPW tools and scripts. Any ideas? Thanks, Steve Leeke leeke@csc.ti.com TI Computer Science Center Dallas, TX 75265 (214) 995-0397