(CS3; JavaScript) how to efficiently "select all"/running an action
Hi all,
while I found some code to run actions from applescript I need to be able to do it from JavaScript. The documentation does not mention actions at all.
It would save me a lot of work if I could simply run an action that changes the document color to CMYK instead of having to duplicate all objects into a new doc. (I already created the action and it works)
That brings me to my other question: Is there really no "select all"? It takes almost 2 seconds (at least if the profiler is right) just to select a mere 300 objects in my test file. I need to batch process something like 30 files that might be more complex and I dont like the idea of telling my colleagues that they have to wait that long...
Isn't there a better way than looping through pageItems and setting .selected=true?
I could imagine running an action that does select all objects (how do you copy actions to other machines btw.?) or to execute the shortcut (Ctrl+a)
Many thanks
Mike
