View Single Post
Ah, sidebar huh... RobTrew, that works perfectly - thanks!

One more question about selection, if I may... I'd like to have a way to determine from AppleScript the order in which the trees were selected...

So, say I have:

Folder1
- Project1
- Project2

If I select Project2, then hold down the Cmd key to select Project1, the order I get when I iterate using "repeat with" is the top-to-bottom order in which the projects appear in OF (not surprising, of course).

For what I'm doing now, I want to ascribe a significance to the first project I select (the other projects are dependent on completion of the first one; I want to set project statuses and insert tasks with linkages).

For this scenario I could display a dialog for selection of the currently-active project, but I'd prefer to be able to select that project first and then select the other "blocked" projects subsequently using multi-select. Does anyone know of a way to read the order in which the trees were selected, in AppleScript?