Fantastically Good Reminder Parser


#1

A companion action to my previous Fantastically Good Event Parser, this time for adding reminders to the Reminders app. Supports natural language date and time entry and other Fantastical-style functionality.

More details on my blog.

Here’s a direct link to the Action Directory.


#2

Again, this is awesome and perfect for what I need. Thanks @pdavisonreiber!!


#3

If you already downloaded this, I just fixed a bug where alarms were not working properly. Now updated in the action directory.

https://actions.getdrafts.com/a/1MR


#4

I was checking the code trying to figure this out but it’s too complicated for me. Do you think it’s possible to add an ignore-line tag to the action?

The iteration I’m thinking: a list with pending tasks and then, when I decide to do next one, delete the list hook, add a date, and launch the action.


#5

Is there any way to parse a location reminder? I can’t figure that out. Thanks. Looks great.


#6

Not at the moment unfortunately.


#7

Yes, this is actually quite simple to achieve. The only bit of the script you need to edit is the for loop right at the end. You just need to add a condition to check whether the line contains a certain string, and then only apply the function when it doesn’t. Something like this perhaps:

for (let line of lines) {
	if (!string.includes("#")) {
		makeReminder(line);
	}
} 

This would force the script to ignore all lines containing a # character. You could customise this as you like.