An Update to the DEVONthink Quick Note Shortcut

March 20, 2019 by Gabe | [mmd] |

My first version of the this shortcut worked great for getting a new text note into DEVONthink. I run the shortcut from Siri and from my home screen. This is an improved version that uses an x-call-back URL to open the note in DEVONthink after it is created.

The new modification is for handling the call back URL and extracting the document ID from the DEVONthink response.


We trigger an x-call-back-url in the shortcut and we wait for the URL to return from DEVONthink. This URL creates a new Markdown file.:

::: js
x-devonthink://x-callback-url/createMarkdown?<destination>&title=<URL Encoded Text>&text=<URL Encoded Text>

When the DEVONthink URL finishes creating the new Markdown file it returns to the source app (Shortcuts) and includes a dictionary of information about the newly created file. One of the keys it returns is "itemlink" which is another URL that points to the new Markdown file. At the end, the shortcut grabs this new URL and then opens it again.

It seems like a really dumb roundtrip and it is. It's a silly little dance between DEVONthink and Shortcuts, but it accomplishes what I wanted. I now have a quick way to create a Markdown note in one of my preferred groups and then keep the note open for editing.

I also think it's a nice use of Shortcuts to bridge a simple gap in an app that I otherwise think is great.


Older articles

  1. Iodide, an experimental tool for scientific communication and exploration on the web

    March 19, 2019 by Gabe | [mmd] |

    It's a long article with some really neat demo pages. But the top comment sums it up nicely.

    It’s like JupyterHub, but for people who only know javascript?

  2. The deranged statement from LaCroix’s CEO Nick Caporella, annotated.

    March 14, 2019 by Gabe | [mmd] |

    I do enjoy an occasional grapefruit water, but what I really need on most days is a human readable translation of corporate bullshit. So refreshing!

    Shannon Palus at Slate

    Speaking of woeful acts of God, by 2018, America was drinking so much LaCroix that “pamplemousse” LaCroix bathing suits became a ...

  3. The Future of Full Content at Feedbin

    March 14, 2019 by Gabe | [mmd] |

    I still really enjoy Feedbin as my RSS reader. One of the things that I like about the post-Google world of RSS aggregators is how community focused most of them are. It just feels like these are all kindred spirits that don't want to give up on RSS or ...

  4. The Modern Trap of Feeling Obligated to Turn Hobbies Into Hustles

    March 11, 2019 by Gabe | [mmd] |

    We might finally be coming out of the shared delusion that "follow your passion" is some how good career advice. While I'm sure there are people that have discovered the unlikely intersection of fun and employment my own experience is that each of these diminishes the other. It's ...

  5. Brief Examples of OmniFocus Perspectives

    March 10, 2019 by Gabe | [mmd] |

    OmniFocus can be a bit frustrating but one feature that keeps me coming back is the custom perspective engine. For new users this can seem like impossible magic. It's not, but it does help to see some examples.

    A perspective is simply a set of filters. The more filters ...

  6. Don’t Care

    March 05, 2019 by Gabe | [mmd] |

    While I'm not really an investor, I enjoyed this piece by Morgan Housel because "caring" can be overweighted in decision making.

    There are some good nuggets in this short article, even if they aren't true or even supported by data.

    Some problems can never be solved because the ...

  7. A Productive Life with Stephen Wolfram

    March 03, 2019 by Gabe | [mmd] |

    This is a wonderful long read from Stephen Wolfram, of Mathematica fame. There are many interesting ideas and tips for dealing with workloads and the bits of friction that are inevitable. I found myself nodding along with many of the passages but this one really struck me:

    When I mention ...

  8. Workstreams and Areas

    March 03, 2019 by Gabe | [mmd] |

    I’m on a journey and I’m struggling to keep up. I manage big, long-running projects professionally. As a project grows it naturally develops sub-projects, short term milestones, teams, and intertwined dependencies. To my dismay, most productivity systems keep me focused on the granular day to day work. Without ...

  9. Apple’s 2018 Progress Report

    January 29, 2019 by Gabe | [mmd] |

    Every year Jason Snell asks a bunch of bloggers and podcasters what they think about Apple products. I always enjoy the conclusions and quote pulls and this year doesn't disappoint. I also enjoyed Jason's grades for the graders on the Upgrade podcast. There are few people that have ...