Tinderbox v10 Icon

Address Tinderbox documents, not windows

The general metaphor is to address app by full name, and then the document directly (see Calling Tinderbox), like so

tell application "Tinderbox 10"
	-- add code here
end tell

Although it might make familiar sense to start addressing a general context in Tinderbox, e.g. to make a note, like so:

tell front window of front document (WRONG!)

this generally does no work, as the Tinderbox AppleScript app Dictionary addresses notes, attributes, etc. via the host (TBX) document rather than via a specific window.

Correct is to use:

tell front document

or if multiple documents are open, address it by name:

tell document "Workspace.tbx"