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

10.6: Show confirmation dialog before iCal sends notifications Apps
Snow Leopard only hintIt seems there's no official way to prevent iCal from sending mails whenever an event is accepted, denied, changed, or created with invitations. I sometimes forward team events from my work computer to my private Mac, and as I already accepted them on my work computer, I don't want iCal to resend any confirmations. The solution for me was suprisingly easy: I modified the AppleScript within the iCal.app bundle to show a confirmation dialog before sending a mail, which allows me to cancel the process.

In Snow Leopard, Control-click on iCal and select Show Package Contents from the pop-up menu. In the new folder that opens, navigate to Contents » Resources » Scripts, and then open Mail.scpt in AppleScript Editor. Simply add the following line at the beginning of each function (after the line starting with on...):
display dialog "iCal wants to send an email. Proceed?"
You'll need admin privileges to modify the file. I suggest to make a backup of the file before the modification.

[robg adds: More than likely, this breaks code signing. How that may affect your use of iCal, I don't know, as I have not tested this hint to see the effects.]
    •    
  • Currently 3.07 / 5
  You rated: 1 / 5 (14 votes cast)
 
[16,043 views]  

10.6: Show confirmation dialog before iCal sends notifications | 11 comments | Create New Account
Click here to return to the '10.6: Show confirmation dialog before iCal sends notifications ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Show confirmation dialog before iCal sends notifications
Authored by: John M on Apr 12, '10 04:33:25PM

I wrote a small helper app to do this. It also has a few other options, like allowing opening the email in Mail so you can modify before sending.

See: www.nhoj.co.uk/icalreplychecker. It is shareware, £3 with a 10 day trial period.

I've not had any reports of issues with code signing.

Best wishes

John Maisey

[ Reply to This | # ]

As it seems only the iCal executable is signed
Authored by: magir on Apr 13, '10 11:08:08AM

codesign -d /Applications/iCal.app/
returns
Executable=/Applications/iCal.app/Contents/MacOS/iCal

and
codesign -d /Applications/iCal.app/Contents/Resources/Scripts/Mail.scpt
/Applications/iCal.app/Contents/Resources/Scripts/Mail.scpt: code object is not signed

So as it seems the SCPT is not signed. I guess if the signature had been broken I wouldn't be able to start iCal (at least without warning). If anyone discovers any issues, simply post them here :-).



[ Reply to This | # ]
10.6: Show confirmation dialog before iCal sends notifications
Authored by: afragen on Apr 13, '10 05:25:58PM

This is fabulous.

I just completed something similar and wrapped the install and uninstall into a shell script.

You can read about it and pick up the scripts here.

[ Reply to This | # ]
10.6: Show confirmation dialog before iCal sends notifications
Authored by: robohaxx on Apr 14, '10 08:58:01AM

This works fine for me. Thanks Magir. I work with a group of Exchange users and I get meeting requests a lot. iCal always wants to send 2 messages when I accept an event. Now I can cancel one of them.



[ Reply to This | # ]
Could this be used to delete without e-mail?
Authored by: sr105 on Apr 17, '10 07:35:14AM

I've noticed that iCal refuses to allow you to delete an exchange event without notifying everyone. Perhaps this could be used for that, too?



[ Reply to This | # ]
Could this be used to delete without e-mail?
Authored by: magir on Apr 24, '10 10:43:04AM

Yes it does. If you add the confirmation dialog to all applescript functions within Mail.scpt, the confirmation should appear for all mails created by iCal.



[ Reply to This | # ]
No longer working
Authored by: SeanAhern on Dec 02, '10 01:23:29PM

That's not working for me. I just moved an event from Exchange to MobileMe, and iCal insisted on sending notification emails, even with this hint's changes in place. I'm not seeing the dialog.



[ Reply to This | # ]
10.6: Show confirmation dialog before iCal sends notifications
Authored by: msoltis on Jul 16, '10 07:31:27AM

I tried the script change from the first post and had no luck whatsoever on any dialogs showing up. I'm on an Exchange server and when I'd add invitees, or change the meeting, it would just send with no dialog. Any ideas why?



[ Reply to This | # ]
10.6: Show confirmation dialog before iCal sends notifications
Authored by: lsloan on Oct 27, '10 06:38:14AM

I don't know the reason why this happens, but I can confirm that this hint doesn't prevent notifications from being sent back to Exchange servers. Bummer.

---
Lance E Sloan



[ Reply to This | # ]
10.6: Show confirmation dialog before iCal sends notifications
Authored by: scorcher14 on Nov 07, '11 01:08:22PM

It works! This was annoying as hell for such a long time. Makes iCal much more usable. It's really a fatal flaw to not let users control the email flow.



[ Reply to This | # ]
10.6: Show confirmation dialog before iCal sends notifications
Authored by: greenvomit8 on Jul 03, '12 11:44:09PM

Does anyone know if this works with Lion and ical 5.03?



[ Reply to This | # ]