Using "drafts" can you append to a note in DEVONthink

I use drafts as my catchall and have just discovered DEVONthink. I have a daily journal that appends in my current system to the note created.

Is there a URL scheme or similar to be able to do this from drafts into DEVONthink note already created?

Thank you in advance for your assistance.

Welcome @Colingold

There is an append parameter in DEVONthink To Go’s URL scheme but you’d have to determine how to pass the updated text from Drafts. Otherwise, you’d just keep appending the text repeatedly. But that’s a question for Drafts.

1 Like

A variety of DEVONthink actions are available on the Drafts Action Directory:

https://actions.getdrafts.com/search?utf8=âś“&q=devonthink

Append doesn’t seem to be one, but it shouldn’t be too difficult to remix the examples for your purposes.

A key question is how you’ll determine which note to append to. If it’s always the same, this could be hard coded in. If not, it’ll be tricky.

1 Like

The issue I see (and I don’t use Drafts) is there’d need to be a diff of some kind in Drafts to determine the changes. I don’t see any command for that in Drafts.

That’s a fair concern, but Drafts’s paradigm operates on the idea that you ship text from it to other apps, then get rid of the original text in Drafts. So you wouldn’t typically act twice or more on the same file in Drafts.

The URL scheme would be something like:

x-devonthink://append?uuid=SOME-UUID&text={{[[draft]]}}

The {{}} URL-encodes the enclosed text. The [[draft]] shortcode means the full text of the draft will be used in the action.

2 Likes

Thank you all for the conversation. It was really helpful, what I ended up doing was moving my journal to drafts all day long and then one action at the end of the day to move it to Devonthink. I wouldn’t have gotten there without your assistance. Thank you

1 Like

Interesting. I had this issue with Ulysses and Drafts. However my approach was simply to switch to the DEVONthink 3 native sorter note taker: I find that works perfectly. I see what you want to do but I found it confusing and with no purpose really. If something is going into DEVONthink 3 as a note I use the sorter. It is in fact my best thing ever on the 3 upgrade. I use the other apps by the way, hardly Drafts at all now though.

3 Likes

Thanks, I looked at it, I just want a journal/record of each day, like my old Franklin planner days. If I take good enough notes all day, I can leverage search to find the topics by day, as opposed to by note.

Thanks for your idea.

What app or program do you use to capture your quick thoughts through out the day? Thank you

Speaking personally, not as a DEVONtech employee :slight_smile: I honestly make Markdown documents in DEVONthink all the time. I also use the Sorter’s Take Note view if I’m making little notes that are unfinished but still actively related to a topic.

I also use the Sorter as an ad-hoc clipboard manager. (I can’t find any clipboard manager that gets traction with me since I don’t use the clipboard in that way. I think of the clipboard as very transient, filling and emptying very quickly.) So I may jot a note in the Sorter and leave it there, but later add a few dashes and add some unrelated temporary text to the same note, e.g., …

PS: Markdown isn’t required. It’s just something I’ve grown accustomed to.

@Ja_acov: What do you use?

3 Likes

I use the Devonthink (DTTG) app with my iPad
The app is stored in the dock, along with a quick-note shortcut

1 Like

This is one of my favourite things to discuss. I use NotePlan, which creates individual markdown files, then file in DT at the end of each month (so that NotePlan is only “live” stuff).

I set up a similar system in Drafts last month so I wasn’t reliant on NotePlan, then after 3 days I asked myself why I was inconveniencing myself for no reason when I already had a setup I liked, and moved back to NotePlan :joy: I really shouldn’t tweak things when they work fine.

I do find having a dedicated app just for this purpose works for me. When I’m in DT or Drafts I’m doing other things and I don’t want to be distracted.

I have been eyeing up Tot (https://tot.rocks/), which is a markdown app that only allows 7 notes at once (to stop unactioned stuff accumulating). I think this would be really good (and really frustrating) for me!

1 Like

Right now I am using the free version for Drafts & Apple Notes. I have removed Notesnik, Logseq, Obsidian & working to remove Drafts & Apple Notes.
My goal it to use DT as the go-to app for everything (Mac & iPhone) except projects & tasks - Omnifocus.

I have not used Sorter, so I will have to look into it. Any tips, greatly appreciated! Thanks again for all that you do! :wink:

You’re welcome and thank you for the encouragement! :heart: :slight_smile:

Thank you & can you share with me your shortcut? Thanks again!

https://www.icloud.com/shortcuts/9d064745f16d4d13817ddd3a5b165a97

1 Like

Thank you, greatly appreciated! :call_me_hand:

It’s worth looking at @mhucka’s shortcut too. Depending on how you’re using notes you might find this one more to your liking. It’s got more “moving parts” but basically when you run the shortcut it asks what type of note you’re creating and then it’s tailored to your intended use (it’s all customisable in the shortcut). E.g. if you’re creating a diary entry, you would select “diary” and it automatically adds the date.

Guess who decided to go ahead and purchase Tot… because of course I needed a new note-taking app…

2 Likes