• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to get Saved Selection list in javascript?

New Here ,
Aug 21, 2012 Aug 21, 2012

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!

Clip_13.png

TOPICS
Scripting

Views

854

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guru ,
Aug 22, 2012 Aug 22, 2012

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…?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 22, 2012 Aug 22, 2012

Copy link to clipboard

Copied

LATEST

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;

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines