Select Mail.app sender for iCal.app invitations in Snow Leopard
See my earlier post on this geared for Leopard.
This tar file adds the functionality to iCal.app for Snow Leopard.
To use this, follow these instructions:
Quit iCal!
Backup iCal.app!
mkdir ~/Desktop/LeopardiCalBackup
sudo rsync -Eav --delete /Applications/iCal.app ~/Desktop/SnowLeopardiCalBackup
sudo hdiutil create -format UDRO -srcfolder ~/Desktop/SnowLeopardiCalBackup -volname SnowLeopardiCalBackup ~/Desktop/SnowLeopardiCalBackup.dmg
sudo rm -rf ~/Desktop/SnowLeopardiCalBackup/
Copy the dmg file somewhere safe.
Extract the modified AppleScript files:
(assumes iCal.app is in /Applications and SnowLeopardiCalSelectSender-20100215.tar is in ~/Desktop)
cd /Applications
sudo tar xvf ~/Desktop/SnowLeopardiCalSelectSender-20100215.tar
Run iCal.app, send an invitation and reply to one, test out the ability to select the sender for the Mail.app outgoing email.
February 15th, 2010 at 6:16 pm
When I try and process the final command in terminal I get the following error
RIE:~ Richard$ cd /applications
RIE:applications Richard$ tar xvf ~/Desktop/SnowLeopardiCalSelectSender-20100215.tar
x iCal.app/Contents/Resources/Mail.applescript: Can’t unlink already-existing object: Permission denied
x iCal.app/Contents/Resources/Scripts/Mail.scpt: Can’t unlink already-existing object: Permission denied
tar: Error exit delayed from previous errors.
Can you please help?
February 15th, 2010 at 9:40 pm
Are you running the command from a user that is an administrator?
Try to extract the tar file using sudo tar xvf ~/Desktop/SnowLeopardiCalSelectSender-20100215.tar (note the addition of “sudo”).
Let me know if this works and I’ll update the post.
Thanks for checking this out.
February 15th, 2010 at 10:52 pm
This works perfectly.
May be worth adding that I needed to restart my laptop before it worked. Not sure if that is because I use FIleVault?
Many thanks for your help
February 16th, 2010 at 8:10 pm
I had the same issue and prepending sudo did the trick. I didn’t need to restart.
Thanks you very much!
February 17th, 2010 at 1:51 pm
Matt,
Thank you! Work perfectly. One question - are the changes likely to be overwritten when Apple sends out updates, are they update-proof?
Thanks,
Brian
February 24th, 2010 at 7:22 am
Hi, installation went fine.
One thing … - might it be possible that …. now it is not longer possible to add an email address at “participants” that is not already at the list of known email addresses? When I type in an unknown email address, it is removed when pushing Return.
Can you reproduce this?
Is it a side effect of the installation?
How to handle this?
???
Matthias
March 2nd, 2010 at 10:32 pm
I imagine any update that touches these applescript files within iCal will overwrite the changes.
March 12th, 2010 at 2:16 am
I imagine any update that touches these applescript files within iCal will overwrite the changes.
March 12th, 2010 at 6:30 pm
Could it possible that instead of selecting a sender address for every recipient just do it once for the whole invitation?
For example with this script, If I am sending an invitation to 5 people, I have to select 5 times my email address.
Even more, should it possible to link each calendar to a specific mail address as a default configuration. That is for example the Work calendar I would link it to myaccount.office.com, and my personal calendar to myaccount.hotmail.com
Any way it does seem that Apple didn’t do their usual attention to detail
March 13th, 2010 at 5:40 pm
Sure — these functions could be written to do whatever you want. I’ll publish the function changes I’ve made and let other folks do what they need with them. It’s really pretty straightforward to make changes.
April 18th, 2010 at 11:03 pm
This problem bugged me for a while in Snow Leopard until I realised that I had the ‘Send new messages from : Account of selected mailbox’ preference set.
At first I thought iCal was just using one of my email accounts at random to send an invite.
So for those of you who do not want to add this excellent script but want to still decide which account sends the invite, be sure to select your preferred account in mail before send the invite.