Update:
jeeyul's answer points out that Reminders-related URL schemes are undocumented, which would likely cause rejection of apps that use them when submitted to the macOS/iOS App Store.
- For personal use, however, this wouldn't be an issue (except that undocumented behavior could change without notice).
As of macOS 13 (Ventura), the
reminders:
scheme fundamentally doesn't work anymore - onlyx-apple-reminderkit:
does.
The Reminders application understands the x-apple-reminderkit:
URL scheme, so that you can invoke it, for instance, from Terminal as reminders:
open x-apple-reminderkit:
(use of //
is optional), which simply opens the application with its default / last-saved state.
What I'm looking for is documentation of further elements of this scheme. Specifically, I want to construct URLs that allow me to do the following:
- open a specific list
- open a specific reminder
I've tried things like x-apple-reminderkit:74771907-EA34-4848-A935-0C839AE123CC
using both list and reminder-item identifiers,[1] but to no avail.
See also:
- https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html for a list of official URL schemes on both iOS and OSX
- https://superuser.com/questions/498943/directory-of-url-schemes-for-mac-apps provides good information on examining the schemes defined on a given machine.
[1] From the terminal (running a POSIX-compatible shell such as zsh
or bash
), you can use the following command to print all list by name and identifier:
osascript -e $'tell application "Reminders" to repeat with lst in lists \n log {get name of lst, get id of lst} \n end repeat'
To print a single reminder's name and identifier, adapt the following example (use list id "some-list-id"
in lieu of first list
:
osascript -e $'tell application "Reminders" \n set rmnd to first reminder of first list \n log {get name of rmnd, get id of rmnd} \n end tell'