• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iCal alarm scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: iCal alarm scripts
      • From: "email@hidden" <email@hidden>
References: 
 >Re: iCal alarm scripts (From: "Nigel Garvey" <email@hidden>)

  • Prev by Date: Re: date:missing value in Snow Leopard
  • Next by Date: Re: AS, ASS, Cocoa, Call Method and memory troubles
  • Previous by thread: Re: iCal alarm scripts
  • Next by thread: Re: iCal alarm scripts
  • Index(es):
    • Date
    • Thread