dictionary:lists:allevents
Table of Contents
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.
/home/e805485/machomeautomation.com/data/pages/dictionary/lists/allevents.txt · Last modified: 2023/02/13 14:52 by 127.0.0.1