Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

How to import a list into Reminders in OS27?

Is it possible to import a list (of groceries for instance) into reminders in OS27?

1 reply

Yes, with a simple AppleScript that reads in your arbitrarily named Grocery list text file. For example, that text file containing one entry per line:

Milk
Eggs
Cereal
Bread
Coke Zero (Cherry)
Cranberry Juice (0 calorie)


The code that you copy/paste into Apple's Script Editor:

set groceryFile to (choose file of type {"public.plain-text"}) as text
set groceryList to (read file groceryFile as text using delimiter linefeed)

tell application "Reminders"
	set newList to make new list with properties {name:"Grocery List"}
	repeat with anitem in groceryList
		make new reminder at end of newList with properties {name:anitem}
	end repeat
end tell
return


Then you click the hammer icon (compile) and then the Run button in Script Editor to generate your Reminder list as shown below:




Tested: macOS 27.0