Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!sunic!bmc!heap From: heap@bmc.uu.se Newsgroups: comp.sys.mac Subject: Editing PICT resources - is there an easy way? Message-ID: <2928.25b46159@bmc.uu.se> Date: 17 Jan 90 11:13:13 GMT Organization: Biomedical Center, University of Uppsala, Sweden Lines: 32 Hi, I wonder if anybody knows of a tool with which to edit PICT resources. The situation is as follows: I am about to do a translation of an english program to swedish. Loads of stuff (e.g. help etc) are represented with PICT-resources, which contains text, some of which is formatted. I turned to ResEdit, and opened the PICTs in the general mode. There I saw that the text in the PICTs were not bitmaped but strings, and each were preceeded by their respective length in one byte. So I started to translate each and every sentence, and then count the letters, and lastly filling in the length byte...and then I though that there ought to be an easier way of doing things. I mean like if there are strings contained in the PICTs, one ought to be able to edit them textedit-like, right? OK, back to the question: Is there an easy way of doing this, or do I have do rely on ResEdit and loads of patience? If so, does anybody know anything about the formats used in the resource when representing boldface and italics, indent, etc.? Sincereley Karl-Koenig Koenigsson Dept. of Scientific Computing, Uppsala University, Sweden koenig@pelle.tdb.uu.se PS. This is submitted for me by a friend. If you want to reply by email, don't use the adress in the header, use the one in the signature instead. Thank you. DS