View Single Post
Originally Posted by RobTrew View Post
The non-flattened versions are nested tree-like structures, and you would have to write a recursive function to 'walk' through them in order to visit every context, or every project in every folder, rather than just the top-level nodes which are immediate children of the document.

The 'flattened' versions are full lists of every node in the tree.
Fair enough, but why doesn't something simple like:

set theProject to project named "fooglebar"
work, when

set theProject to flattened project named "fooglebar"

or is the actual name of the project the full path?