View Single Post
Quote:
Originally Posted by xmas View Post
These URLs will most likely look like:
("task" will be either an action or project.)

omnifocus://{task,context,folder}/[id1],[optional-id2]
Oh, it occurs to me that this notation uses a little programmer shorthand which might not be obvious to everyone. The stuff in braces denotes "choose one" options, so the three types of URLs we're describing here would actually look something like this:
  1. omnifocus:///task/j6a_IXfVPs1
  2. omnifocus:///context/xy9234zx
  3. omnifocus:///folder/uweog97a

(The other change I made in the above examples was to add an extra slash to those URLs, since the standard form for URLs is scheme://[optional-hostname]/path. We're not going to pay attention to the hostname at the moment, but we do want to reserve that portion of the path to conform to the standard.)