All Events

Returns a list of all Scheduled Events.

Usage:

all events
returns an AppleScript list with the names of all Scheduled Events.

Optional Parameters:

with extract
returns a list of Event Extract Records

Examples:

--disable all events beginning with "(vacation)"
--I actually use this!
 
set MyEvents to all events
repeat with ThisEvent in MyEvents
  if THisEvent begins with "(vacation)" then
    suspend event ThisEvent
  end if
end repeat

I have many events that simulate activity in the house when we're not here. I have named them all starting with (Vacation) so that I can turn them on and off by running the above example and not have to do so manually, or by deleting and recreating them each time.

dictionary/lists/allevents.txt · Last modified: 2009/09/28 12:17 by James Sentman
CC Attribution-No Derivative Works 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0