pgn@osupyr.UUCP (Paul G. Nevai) (04/28/87)
Solution! Solution! Solution! I wanted to change the menu names in MS Word 3.0. The problem: MicroSoft tricked us, and they put all the CODE in one place in the resource file. It's called PCOD, ID=2, and it is big (310818 bytes). Thus it cannot be opened within ResEdit or REdit. Disk editors in general aren't good for this. Though they, say Fedit Plus, can be used to read the stuff, the code cannot be changed because it would shorten the words. However, as most of us know (and I could have known) Pascal strings start out with the length byte such as 0657 696E 646F 77 = 06Window, and the string can be shortened by changing the length byte, such as 0157 696E 646F 77 = 06W despite of the additional 696E 646F 77 = indow. I guess it is clear by now how to proceed. Take a disk editor, open up MS WORD 3.0, go to sector 00D5 (213), and voila there are the menu names listed in rows 0160-0180. Change them according to your own taste and pleasure! It works and have fun! Thanks to Brian Diehm (Tektronix, Inc., briand@tekig4.UUCP) for providing this solution. However, one must admit that this is a KLUDGE (Thanks guys out there for explaining me the meaning of KLUDGE). As a matter of fact, not all strings have the length byte attached to them. For instance, this approach doesn't work when trying to cure VersaTerm. Matthew Marcus (marcus@weyl.Berkeley.EDU) suggests to use Rez and DeRez from MPW. I tried but couldn't figure out how to do it. Mat, can you be more specific? Still Need Help! Help! Help! What about adding custom command keys to the MenuItems? Any ideas? P.S. Hi Guys at MicroSoft: any comments? * * * * | * * * * * * * * * | * * * * * * * * * |* * * * * ---*-------*-------*-------*-------*-------*-------*-------*-------*--- * * * * *| * * * * * * * * * | * * * * * * * * * | * * * * Triple Cheers for Pafnuty Lvovitch Tschebyscheff !!! (alias Cebyshev, Chebishev, Chebyshev, Csebisov, Tschebysev etc.) Have Orthogonal Polynomials Will Travel Paul Nevai pgn@osupyr.uucp (PREFERRED) Department of Mathematics nevai-p@osu-eddie.uucp The Ohio State University 73057,172.Compu$erve 231 West Eighteenth Avenue TS1171@OHSTVMA.bitnet Columbus, OH 43210, U.S.A. 1-614-292-5688