If you don't have an fmnu template (see below) and you want to change or add a command key to a menu item, you have to poke around until you find the text of the menu item's name (e.g. "Empty Trash") and then change the byte that is three bytes before the first letter of the item's name to the command key. Maybe an example would help - to use Command-T to "Empty Trash", open fmnu #1255 (ResEdit opens fmnu resources as generic resources unless you have an fmnu template, see below), and change byte number 2C to "T" or $54. Byte number 2C is three bytes before the "E" in "Empty Trash" at byte number 2F. Like most things with ResEdit, this isn't for the faint of heart, and for all I know it may have some disastrous consequences. But it works for me, and I haven't noticed any side effects.
Thoughtful, detailed coverage of the Mac, iPhone, and iPad, plus the best-selling Take Control ebooks.
Teach Fetch New AppleScript Tricks
Want to use AppleScript to get more out of the Fetch FTP client? Try the Fetch 5 Example Scripts collection. You can use any script as provided, use them as a learning tool, or use them as a starting point for your own scripts.
Visit the Fetch download page
Written by
Tonya Engst
Published in TidBITS 99.
Subscribe to our weekly email edition.
- Fun with the Finder
- The fmnu Template
- Quit the Finder
- Zoom Animation
- Free Size Display
- Rename Delay
- Application Substitution
Finder Command Keys
Doxie makes it easy to go paperless and scan anywhere — nocomputer required. Doxie scans paper and receipts, creates
searchable PDFs, then syncs up to your Mac. With smart design and
great software, Doxie just works. <http://www.getdoxie.com/a/bits>

