On My Mind Action Group

I was intrigued by viticci’s Workflow with his “On My Mind” Shortcut to simplify ‘Thought Capture’ he shared recently in the MacStories Weekly.

Since I don’t use obsidian and heavily rely on Drafts as my main input tool I built an Action Group for the same purpose to use with Drafts which I want to share with you :sunglasses:

It contains actions to add thoughts to your “On My Mind” Draft based on your input in a Prompt or the content of the current Draft.
You can quickly open your “On My Mind” Draft from anywhere and when you’re ready to process the chunks of text in it you can run the ‘process On My Mind Action’

You can customize the processing options to your own needs. This will allow you to run any of your own Actions from a Prompt on each chunk of text in the “On My Mind” Draft just like you would on normal Drafts.

You can e.g. send one chunk of text as task to your Task Manager and the next one to Craft to create a new note or use one of my Append/Prepend Actions to existing documents. Or just run any other Action you’re using on a regular basis.

You can download the Action Group from the Drafts directory

To show you how to use it and how to configure your own Actions I recorded a Video which you can watch on YouTube.

I hope these Actions are useful for you! If you have any issues or other ideas just let me know :v:t3:

9 Likes

Updated the action group today to allow cancelling of the process On My Mind action requested by @tb12 (ref: On my mind action extra)

@iwc I’ll answer your question from Quick Capture Workflows - #7 by iwc here in the thread.

I noticed the same thing with actions I configured for my OMM group. What I did then was to modify the action that is called from the processing action of OMM.
I added the draft.content e.g. as the text displayed in the prompt (prompt.message) which will then display the correct text and you’ll know what text you’re processing.

I’m not 100% sure which add to list action you’re referring to so if you can point me to the correct one then I’ll be happy to assist you making the necessary modifications

Thank you for replying so promptly.

I am using “Add to List” from https://actions.getdrafts.com/a/1Ga

The second script is the one to modify, I think.
et f = () => {
let listDrafts = getListDrafts()
let p = new Prompt()
p.title = “Select List”
p.isCancellable = true
if (listDrafts.length > 0) {
p.message = “Select from existing list, or create new one below”
for (let d of listDrafts) {
p.addButton(d.displayTitle, d)

yes thats it.

you need to adapt this line in the script:
p.message = "Select from existing list, or create new one below"

since you already know what the action is doing / what you need to select I e.g. recommend to change it to something like:

p.message = "draft: \"" + draft.content.slice(0,97) + "..."

this will then display around 100 characters of the drafts content that you process with the action.

yes thats it @iwc.

you need to adapt this line in the script:
p.message = "Select from existing list, or create new one below"

since you already know what the action is doing / what you need to select I e.g. recommend to change it to something like:

p.message = "draft: \"" + draft.content.slice(0,97) + "..."

this will then display around 100 characters of the drafts content that you process with the action.

Thank you so much @FlohGro

I got partway there but didn’t know about restricting the drafts content and now I see why it would be worthwhile.

1 Like