AppleScript to update Microsoft To Do’s Next Step

you got it… the latter. Here’s a very simple example script i’ve shared with folks in my office. Some Apple Reminders users and some Microsoft To Do users

set myReminderApp to "Apple" -- either Microsoft or Apple
set theList to "Work"

set reminderTitle to text returned of (display dialog "Reminder" default answer "")
set reminderDueInDays to text returned of (display dialog "Due in Days" default answer "0")
set reminderNotes to text returned of (display dialog "Reminder Notes" default answer "")

set reminderDueDate to (current date) + (reminderDueInDays * days)

if myReminderApp is "Microsoft" then
	tell application "Microsoft Outlook"
		set myList to task folder theList
		tell myList
			make new task with properties {name:reminderTitle, content:reminderNotes, due date:reminderDueDate}
		end tell
	end tell
	
else
	tell application "Reminders"
		set myList to list theList
		tell myList
			make new reminder with properties {name:reminderTitle, body:reminderNotes, due date:reminderDueDate}
		end tell
	end tell
	
end if
display notification "Reminder added to " & theList