Skip to content

Instantly share code, notes, and snippets.

@ivoleitao
ivoleitao / nextmeeting.applescript
Last active November 22, 2025 15:57
Get next meeting from Microsoft Outlook with apple script
-- Set the target Calendar
set calendars to "Calendar"
-- Set the start time margin to allow the return of the meeting x minutes before the start
set startTimeMargin to (5 * minutes)
-- The default meeting name in case no meeting is found
set defaultMeeting to "Untitled Meeting"
set now to current date
copy now to today
set time of today to 0