Re: iCal alarm scripts
Re: iCal alarm scripts
- Subject: Re: iCal alarm scripts
- From: Bruce Horrocks <email@hidden>
- Date: Tue, 12 Jan 2010 01:43:04 +0000
On 11/01/2010 19:30, Nigel Garvey wrote:
[snip]
An alternative which _might_ be a bit faster would be to ask iCal for
the 'open file alarms of events of calendars whose filepath is [URL of
the script file]'. This returns an AppleScript list of lists of lists,
the innermost lists of which contain either nothing or just the alarms
which trigger the script. Iterating through the lists should be faster
than iterating through the application and only the presented alarms
need be checked. The relevant calendars and events can be referenced
through the index values of the loop variables. As with Paul's outline,
this does _not_ work with repeated events.
[script snipped]
Many thanks to Nigel and those others who replied. Unfortunately it is
repeating events that I particularly need to use this on.
Best option that I can find from scouring the Internet is set an email
alarm, email the event to myself (which includes the details) and then
have a script process the incoming emails automatically. That's all a
bit too hideous and error prone to contemplate, really.
Regards,
--
Bruce Horrocks
Surrey
England
(bruce at scorecrow dot com)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden