I noticed that see also hits are generated only by text inside a note’s body and not in the title. How can I set DT3P to find results based on the title as well? There are many images etc that remain unconnected due to the title going under the radar.
A grim confirmation! I have many notes with data only in the title and reaching these is valuable to me. Is there a script / method that could be used to copy and paste the title in the body of notes which are titled only?
Here’s a sample; I select notes and run the Process-Inbox script (toolbar icon)
tell application id "DNtp" to set selectedNotes to (get selection)
repeat with theNote in selectedNotes
code to set values for title, tags etc
this could also include code to update the note contents source code
set theNote to move record theNote to theFilingGroup
set name of theNote to theTitle
set tags of theNote to tags of theNote & theTagList
set locking of theNote to true
end repeat
end tell
I used Apple’s Script Menu app and opened Devonthink’s Dictionary
Looking at the record definition, “note body” is identified by the plain text object
Here’s simple code to set the body to the title
The title could also be added to existing content
tell application id "DNtp"
set theNote to item 1 of (get selection)
set theText to plain text of theNote
set theName to name of theNote
if theText is "" then
set plain text of theNote to theName
end if
end tell
Hi! I am not on an iphone right now but it doesn’t sound like a bad idea trying out DTTG if I ever get one. That’s very bad news with formatted notes as I came from using evernote for many years, although I don’t think I have any formatted notes that exceed 10MB. Could you suggest any other pitfalls / tips for former evernote users that migrated into DT?
I haven’t enjoyed an algorithm in so many years, this is great. I’ll wrap my head around it. I’m new to apple products honestly but I’ll find the script menu app and the devonthink dictionary.
The ‘plain text object’ is also applicable to a formatted note? I’m guessing with script I could also change an image container to a formatted note with the image embedded, so I can add the title inside to connect to see also which is essential.