For the following messages, node stands for a tree node or a reference to one and root stands for a tree box or a reference to one.
Caution: If you send a root node that contains one or more nodes with the Set Node Select Script defining a collapse message, then Mac runs the script twice. Windows doesn’t run the script. This behavior on Macintosh doesn’t just affect increments. Any script runs twice. It will print to the log twice, create a column twice, try to delete something twice, and so on.
–
|
In a single-item tree, the currently selected tree node or Empty is returned.
|
–
|
•
|
On Windows, the <<Set Selected() message expands all nodes between the selected node or nodes and the root of the tree; items that are selected deep within the tree are shown. The expansion state does not change for nodes that were previously selected.
|
•
|
On Macintosh, <<Set Selected() does not change the tree expansion state.
|