Okay, I forgot that I had not saved my modifications to the file I had linked. Let me explain what I did and how it works. First, my script is not to remind me of events that are over due, but I modified it so that I can create reminders for things in the future. Lets say that I have this task.
- Dr. Appointment @remind(2016-05-01 09:30)
My script which happens to run every half hour will create a reminder in the default list. If you have a particular list that you want to use, lets say “personal”, simply add the tag @list(Personal). I also modified the script to add calendar reminder.
- Dr. Appointment @event(2016-05-01 09:30) @calendar(Personal)
You don’t have to add the time nor the calendar tag, but they are there in case you have a “Personal” calendar you want to add.
The script will ignore tasks that have the tag @done or @cancelled, and that have an event date that is older than the actual date and time. Once the tags have been processed, the tags are changed. So in the previous example, you will have something like this after the script creates the event or reminders,
- Dr. Appointment @reminded(2016-04-01 12:00)
- Dr. Appointment @event_created(2016-04-01 12:00) @calendar(Personal)
The date of the tag is changed to the date and time the event or reminder was created. If you want to keep dates, I would recommend you to add a @due date instead and just use the @event or @reminder tag to feed information to the script. Again, my ruby knowledge is very limited, but if you are free to play with the script and ask questions. Maybe somebody who knows more ruby can help you
Here is the link to my script. For instructions on how to install it, follow the link to Brett’s page mentioned in my original post. Here is a copy of my plist which goes in my ~/Library/Launch Agents/local.job.plist which is kind of self explanatory. This runs the script every half hour.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">