Copy link to clipboard
Copied
Is there an Illustrator equivalent for InDesign's doc.selection.storeSelection() or app.selection.store() functionality?"
Illustrator api doesn't have those explicit methods but these do the job
// save selection
var sel1 = activeDocument.selection;
// select saved selection
activeDocument.selection = sel1;
Copy link to clipboard
Copied
Illustrator api doesn't have those explicit methods but these do the job
// save selection
var sel1 = activeDocument.selection;
// select saved selection
activeDocument.selection = sel1;
Copy link to clipboard
Copied
@hans_4621 I'm afraid you've been misinformed. Indesign doesn't have either of those methods. In Indesign we get and use the selection just as Carlos described. - Mark
Find more inspiration, events, and resources on the new Adobe Community
Explore Now