Workflow for Tinderbox and DEVONthink

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.

2 Likes