Can I do this? Workspaces many files, tabbed view

Novice, here.

I would like to set up a workspace with a document I’m drafting on the left (a pages document saved in DT3) with reference files in tabs on the right (text and spreadsheets saved in DT3) on the right. Is this possible?

I put all these files in a smart group. I tried opening the reference files in tabbed view but that opens them at the bottom of the my DevonThink main window, not in their own window.

If this isn’t possible, what are file-dense ways of organizing a workspace for easy access.

TIA

Not sure I understood what you want, You could

  • open the pages document in DEVONthink
  • use this script to open your references in one new document window
  • create a workspace

Loading the workspace would then result in something like this:

You could then to use menu Data > Open with to open the pages document in Pages.app.

-- Open selected records in one document window

tell application id "DNtp"
	try
		if not (exists viewer window 1) then error "Please open a viewer window"
		set theRecords to selected records
		if theRecords = {} then error "Please select some records"
		
		repeat with i from 1 to (count theRecords)
			set thisRecord to item i of theRecords
			if i = 1 then
				set theDocumentWindow to think window of (open tab for record thisRecord)
			else
				open tab for record thisRecord in theDocumentWindow
			end if
		end repeat
		
	on error error_message number error_number
		if the error_number is not -128 then display alert "DEVONthink" message error_message as warning
		return
	end try
end tell

That did it! And it even reopens since I saved it as a workspace.
6 DT3 docs arranged for easy access. Sweet!

Now I just have to figure out where to save the script. In DevonThink I assume.

Yes, in DEVONthink’s script menu.

  • Open Script Editor.app
  • Paste the script
  • Save it to DEVONthink’s script menu folder
    ~/Library/Application Scripts/com.devon-technologies.think3/Menu/

image
Thank you, you’re the best!

1 Like

That’s correct.

5 Likes