|
|
Helping iCal understand vCalendars
The hint I submitted suggests a way in which you can help Mail.app (1.2.3 v551) recognize and process a vCalendar request. It turns out that you will probably need to give iCal (1.0.2 v452) some help understanding the vCalendar standard which it does not seem to be well-versed in yet. iCal has two problems in replying to non-iCal vCalendar requests. First, it does not grok TZID's so any invite that doesn't specify times using built-in TZID's (like "US/Pacific") could end up at the wrong local time. Second, even when iCal gets a request using TZID's it understands, the RSVP dialog doesn't localize the time it indicates for the invitation (at least, that's what happens for me). I've attached some more AppleScript pieces that you can use with the script in the hint to help iCal get the time right.
To use this addition, add the lines: --localize the calendarif thisCal contains "BEGIN:VTIMEZONE" then ¬ set thisCal to my localized(thisCal)Add these lines just before the -- save vCalendar to file line. Also add the line: property daylight : {startondate:date ¬to the top of the script (if it is no longer 2003, you will need to update this line with the current daylight savings time interval).
Warning! The localization works for the vCalendar invites that I receive which all contain a single VTIMEZONE definition (with daylight and standard variations) for a single TZID. Your context may be different and the localization may not work. You will want to check that the "localized" time ends up in your iCal calendar correctly. As always, use at your own risk! -- Handlers for LocalizationAs before, my hope is that you will not need these hacks for very long.
Helping iCal understand vCalendars
Where exactly do you insert this Time Zone script? Thanks! |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.13 seconds |
|