[comp.sys.mac.programmer] Command Options Finale'

jstewart@rodan.acs.syr.edu (Ace Stewart [Jonathan III]) (10/25/89)

This is a summary of the information I received, paraphrased accordingly
and the actual technicalities I ran into. The problem was this: that I
personally wished to modify Stuffit 1.5.1 to take a command key equivalent
for decoding binhex files. As it stands, Stuffit has command options for
most other operations, save for this one, and I desired a solution.

From Alex Chaffee (chaffee@reed.uucp) who was the first and foremost source
of information, I thank you sir...a few modifications to your theory and
all went well. Mr. Chaffe suggested going into a sector editing program and
modifying the resource fork. The reasoning behind this, instead for say
using ResEdit to modify the MENU resource in an application, is that
StuffIt is one of those programs that has no such resource. Sector editing
is all you can do in this case.

Originally I planned on modifying that choice to use command-d so Mr
Chaffee suggested, and was quite correct, that I modify "Decode Binhex File"
to "Decode BHex File/D" <== ensuring that the lengths of the two strings
of characters were exactly the same. This done, I noticed that the command
option would appear on the menu, but that it did not actually work. Instead
I know had a command option that was useless.

Upon specific tests (ie fooling around...) a rather unusual thing happened.
Please note that there is no command-d usage already in Stuffit, but in
this case, I changed the character to command-t and it worked like a charm!
I have a feeling, looking at the command options on each menu in Stuffit,
that the program is somehow specifically designed to recognize specific
choices of letters. Has anyone experienced this problem with anything else?
This is*just* a theory, but it works so I'm going with it.

And for those of you interested in modifying it, in a sector editor, the
modification takes place in the 7th sector, on the second half (sometimes
referred to sector 7 part B) approximately three quarters of the way
through it.

			Thanx to all those I didn't mention in this
				letter, and those with questions I'll
				gladly pass on my assistance, meager
				as it may be...:-)
						Ace

-- 
| Ace Stewart (Jonathan III)                             |A       /\       |
| Affiliation: Eastman Kodak Company. Rochester New York |      _/  \_     |
| Internet/ARPA: jstewart@rodan.acs.syr.edu              |      \_  _/     |
| Bitnet:        jstewart@sunrise.bitnet                 |        /\	  A|