No need to apologize!
Just the other day I belabored my parents with a diatribe on some changes I need to make to our documentation. When I was done, my father astutely said, “Sometimes it really helps to jus talk things through out loud.”
PS: Are you showing extensions via DEVONthink’s Prefererences > General?
Yes, excluding the extension from the string would be a good idea.
I would also suggest using the search form I mentioned. It’s basically the same as typing in a search in the toolbar search field, just tell DEVONthink to do it via AppleScript. You can edd search prefixes in the query to target Markdown files, just as you would in a normal search, so…
set foundRecord to (search "name:" & targetRecord & " kind:markdown") in (database "11")
Also, it is unfortunately inaccurate. You should consider the later post(s) by @alastor933 for bookmarking (if you are interested in the date issues, that is) rather than mine.
And I have book here by Susan Sontag (her journal) of which the German name translated back to english is “I write to find out what I’m thinking about”. I work a lot to get myself to write in such away, using DT and paper notes and whatnot, but yes, I make my finest points and arguments when I’m speaking to others: speaking out loud in the presence of others, but it also works in speaking things out loud for yourself.
So I have to either speak it out loud for me and then write down what I said, or make this start to work when I write (which it hasn’t yet).
On the other hand, reading your quote and references and thinking made me write this forum post, and in it is a new thought I never had before. Or at least, not as clearly as before. But I wasn’t speaking, I wrote.