Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A better way to activate menu items from AppleScript' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A better way to activate menu items from AppleScript
Authored by: jacobolus on Sep 29, '06 08:14:59PM

I made a few changes to the script, and pasted it on the pastie pastebin. There are no functional changes, but the code is a bit nicer. One change in this version is the use of "car" and "cdr" instead of "f" and "r", mostly as a joke for the sake of hmelman, the author of the recent Quicksilver manual. Also, apparently it's possible to do items k through end of aList instead of items k through (length of aList) of aList. Nice!

Let me finally put an obligatory plug for using TextMate to write AppleScripts. We've added some very handy snippets that will fill in quite a bit of your code for you. I'm going to try to get a screencast done sometime in the next few weeks showing how to use the bundle to best effect.

[ Reply to This | # ]