Tinderbox Forum

Workflow for Tinderbox and DEVONthink

Hi everyone,

Sorry if this has been discussed much before, is too elementary or too vague. I have been using DEVONthink for a long time and recently started using Tinderbox. I have understood that the two programs should work good together although there is no syncing of content. How do you recommend that notes are kept so that it is easy to access the content in DEVONthink and work with the notes in Tinderbox. I see that there is functionality to have a Watched folder which I imagine is useful for adding content to Tinderbox using iOS. Is there some recommended way to add content from Tinderbox to DEVONthink? I can imagine that the answer depends on if the notes are supposed to be editable in DEVONthink or not.

Best regards,
Björn

You’ll find quite a few threads throughout the forum on strategies for working ith TBX and devonthing. As for your watch folder questions, yes there is:

Thanks, I will try this approach

Best regards,
Björn

And if you want a simple approach that doesn’t require setup in a Tinderbox document, keep in mind that you can use a short AppleScript like to move data from Tinderbox to DT.

-- select notes in Tinderbox 9 and run to export them to DEVONThink
tell front document of application "Tinderbox 9"
	tell selections
		--selections can be non-sequential: multiple levels ok
		--each line below makes a list of that attribute's value for all selected notes
		set theNames to name
		set theTexts to value of attribute "Text"
		set noteURLs to value of attribute "NoteURL"
		set theTags to value of attribute "Tags"
	end tell
end tell
tell application id "DNtp"
	activate
	set destGroup to display group selector
	repeat with i from 1 to length of theNames
		create record with {name:item i of theNames, content:item i of theTexts, URL:item i of noteURLs, tags:item i of theTags, type:rtf} in destGroup
	end repeat
end tell

  1. Copy-paste into Script Editor (in Applications > Utilities)
  2. Select notes in Tinderbox
  3. Click the “run” button in Script Editor

If “nothing happens” make sure Script Editor is listed and selected at System Preferences > Security & Privacy > Privacy > Accessibility.

The script can be placed in the Script menu so it can be run in a way very similar to the way you would run a stamp in Tinderbox. But unlike a stamp you don’t have to copy it from document to document. It is reusable.

This one creates a link from DT back to the Tinderbox note. Of course many other variations are possible.

1 Like

Thank you very much! This looks good to start with! Something that I can modify as I learn more :+1:

Best regards,
Björn