Skip to content

Instantly share code, notes, and snippets.

@semicolonsnet
Created May 29, 2015 17:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save semicolonsnet/14933912615dd243e5c0 to your computer and use it in GitHub Desktop.
Save semicolonsnet/14933912615dd243e5c0 to your computer and use it in GitHub Desktop.
Makes a Reminders list from a text file template (each line is a new task)
tell application "System Events"
set QueueList to display dialog "List Name" default answer ""
set listName to text returned of result
tell application "Reminders"
set myList to make new list
set name of myList to listName
set myFile to "FILE NAME HERE"
set myText to read myFile
set theList to paragraphs of myText
repeat with listItem in theList
set newRemin to make new reminder in myList
set name of newRemin to listItem
end repeat
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment