Oct 31, '08 07:30:02AM • Contributed by: HeelToe
Since I have multiple calendars and multiple email accounts, it is often that I want to choose the specific account when sending an invitation or replying to an invitation. This 40KB tar file contains the iCal AppleScript changes necessary to create an account selection box prior to sending these emails. Once a sending address is selected and OK is clicked, Mail.app will proceed with sending the iCal invitation, or replying from the account corresponding to the chosen email address. Here's how to install the modified code.
First, quit iCal and create a backup. You can do that however you wish; here's a version that uses Terminal to first copy iCal, then create a disk image of the backup: Move this DMG file somewhere safe, and then extract the modified AppleScript files (from the tar file you downloaded) directly into the iCal application bundle. This assumes iCal.app is in /Applications, and LeopardiCalSelectSender-20071127.tar is in ~/Desktop:
$ cd /Applications
$ tar xvf ~/Desktop/LeopardiCalSelectSender-20071127.tar
Run iCal.app, send an invitation and reply to one, and test out the ability to select the sender for the outgoing Mail.app email. Note that you can read the original version of this hint in this post on my blog.
[robg adds: I tested this one, and it works as described. I chose to implement it in a slightly different manner, though -- I duplicated iCal in the Finder, expanded the tar archive by hand, then just replaced the relevant files in my duplicated iCal (in the bundle in Contents » Resources and Contents » Resources » Scripts folders). After testing the modifications, I could then (if I regularly used the invitations feature) archive the original application and rename my duplicate.]
