How to set a due date in Reminders
Hey guys this had been bugging me for a while so I decided I'd share my findings. This is a pseudo-fix but I think it works for my purposes.
First, the solution:
Open Automator (go into Spotlight and search "Automator")
Create a new service
Under the "Service Receives" dropdown select "none" and make sure it's "every application"
Then in the search bar to the left find "Run AppleScript"
Drag and drop the "Run AppleScript" to the right.
Paste the following code in the "Run AppleScript":
tell application "System Events" to set FrontAppName to name of first process where frontmost is true
if FrontAppName is "Reminders" then
tell application "Reminders"
set newReminder to makenewreminder
set name of newReminder to "new reminder"
set due date of newReminder to current date
end tell
else
display dialog "failed to make new reminder!"
end if
Save the service as whatever you'd like, I named mine "new-reminder-with-due-date"
Now close Automator, go to "System Preferences" -> "Keyboard" -> "Shortcuts"
Go to the bottom where it says "Shortcuts..." Add an entry, in the Application say "Reminders"
Then paste the name of the service name you chose earlier (again mine was "new-reminder-with-due-date")
Choose a shortcut to make a new reminder with a due date, For me I chose CMD + SHIFT + n
Close the System Preferences
Now when you use your shortcut in the Reminders app it will create a new Reminder with the due date set as "now"
Change the due date to whatever you want and there you go
Now the explanation. I used references from:
http://www.macstories.net/tutorials/enhancing-reminders-with-applescript-and-mac ros/
Basically Reminders happens to have the "due date" property as a scriptable feature. So with AppleScript you can make a new reminder with a due date. I set the date to "Current Date" because I just needed the due date there. You can set the default due date to something else if you'd like but this is at least a solution you can use.
I'm now going to explore how to add a due date to an existing reminder using AppleScript. Hope this helps everyone in the future.
Finder-OTHER, OS X Mountain Lion (10.8.4)