Sure! I’ve been meaning to publish this anyway, so thanks for the excuse.
One trick: how does installing a Shortcut that runs other Shortcuts work? Do users need to manually download all five, then stitch them together themselves?
I have cross-posted this writeup to Github, where I’m slowly growing my little collection of “augmenting cognition” automations.
Using Shortcuts to remember the future
A Shortcut—or collection of Shortcuts—to help you push through a stressful milestone using (short-term) futures thinking.
I mean, the basic edition is simple. List a few nice visions as
Split Text by new lines,
Get Item from List randomly, and
My version is a little fancier. I put my items in a DEVONthink markdown file to make it easy to add to it anywhere, and I used recursion to make it easy to loop. This made it more complicated, of course. There are five (five!) interlocking Shortcuts.
The first part of the “controller”. This runs two shortcuts: Get Visualizations to pull the list from the DEVONthink file, and then it runs Recursive Visualization to give me a looping prompt.
The “model”. Give it a DEVONthink item link and the markdown heading level of the images of the future in that file, and it feeds that link to a Get list from DEVONthink md headings Shortcut that pulls them into a nice list for you.
This is a helper function I’ve developed to make it easy to grab headings in a markdown file saved in DEVONthink. I use it elsewhere too. It accepts:
Heading value indicating the level of headings you want to parse (in the form of a number of # symbols).
File value in the form of an x-devonthink-item:// link.
It switches that item link into an x-callback-url to, grabs and decodes the text content of the DEVONthink item, grabs each of the appropriate heading lines, cleans the hashtags from each line (so they don’t appear in your resulting list), and outputs that final list.
The second part of the “controller”. This shortcut receives a list and then runs the Visualizing Positive Futures sub-shortcut (to facilitate recursion). It then offers a simple menu with “Another?” as a prompt, and the options yes or no. If you chose yes, it runs itself again, looping without having to re-do all of the above shortcut actions (speedy!)
The “view”. Nice and simple. This shortcut accepts a list, gets a random item, and shows the item as a result.