October 9, 2003 · Lessig
I’ve been experimenting with Apple’s mail client, “Mail” (note to product development: generic names make it very hard to search on product specific information), and have been frustrated that an obvious function is not in Mail (or any other client I’ve seen).
The obvious function is the ability to define a hot key that will move a message to a specified folder. I had built (and had built) tools in Entourage to enable me to hit, say, ctrl+f, and the highlighted message(s) would be moved to the friends folder. I know you mice-on-the-brain sorts like to do that with the (insanely inefficient) drag function, but I like keys.
The hard coded version lets you code in the name of a folder. The variable gives you a list of folders to toggle through. Both require a keyboard utility to invoke the script. And both face a similar problem: Sometimes the utility will “forget” which message is highlighted so it forgets which message to highlight next.
Both problems come from the relatively immature stage of development that “Mail” is in. Interestingly, in MS Entourage you could invoke a script from the keyboard without a utility, and it had no problem remembering where it was on list of messages. (It’s also relatively easy to find information about “Entourage” on the web.)
Thanks to Jonathan Nathan for his free (as in beer and as in speech) code. Any ideas to tweak it would be appreciated.