Copy link to clipboard
Copied
Hello!
Recently I met a little problem about save selection. I want to get saved selection list so that I can used in javascript. Now I have no ideals. Hope you tell me some useful information about how to get Saved Selection list in javascript!
Copy link to clipboard
Copied
This may be possible with CS6 using the menus… I don't have that so can't be sure… I don't see any accessible property for this… It would be better to tag the selected items with script then you can find them again…?
Copy link to clipboard
Copied
Mark is right, it's not possible.
But do you know you can assign selection to a variable, and get back to it simply like this?
var sel = app.selection;
app.selection = null;
/* your codes here
*/
app.selection = sel;