Step 1: Calendar
This is a member-only chapter. Log in with your Signal Over Noise membership email to continue.
Log in to readModule 2 · Section 4 of 11
Step 1: Calendar
Run this AppleScript to get today’s events:
```bash osascript -e ’ set today to current date set time of today to 0 set tomorrow to today + (1 * days) tell application “Calendar” set output to "" repeat with c in calendars if name of c is “Jim Christian” or name of c is “Family” then set evts to (every event of c whose start date ≥ today and start date < tomorrow) repeat with e in evts set output to output & (time string of start date of e) & ” | ” & (summary of e) & linefeed end repeat end if end repeat return output end tell’ ```
If no events are returned, note “No events today.”