Returns a list of all Scheduled Events.
all events
returns an AppleScript list with the names of all Scheduled Events.
with extract
returns a list of Event Extract Records
--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.