View Single Post
No, it doesn't select them in the UI, it makes a list of them in the script, at which point you could walk through the list and operate on them, just as if you were running a script that required you to select your actions of interest before invoking it.

If what you wanted was a script that you could invoke by hand to create a selection of all the actions created in the last 2 seconds that you could then pass to another script or change in the inspector, you didn't make that sufficiently clear to me — I got the impression you were looking to do that in Applescript as part of a bigger script.

Replacing the "display alert" statement with "tell content of front window to select newTasks" should do what you want, I think.