Skip to main content
Participating Frequently
Sep 7, 2023 7:09 AM UTC
Question

How to expand the selected object or group using script?

I didn't see any documentation about that

6 replies

Sergey Osokin
Inspiring
Sep 7, 2023 11:56 AM UTC

What command are you looking for? Expand, Expand Appearance, Type > Create Outlines, Outline Stroke? There are app.executeMenuCommand('menuCommandString') commands that are not included in the ExtendScript documentation. See this table https://judicious-night-bca.notion.site/app-executeMenuCommand-43b5a4b7a99d4ba2befd1798ba357b1a

Translate
AhmeedevAuthor
Participating Frequently
Sep 8, 2023 3:18 AM UTC

i want Object > Expand my selected group using extend script

 

Translate
Sergey Osokin
Inspiring
Sep 8, 2023 4:31 AM UTC

This command opens the Expand dialog box.

app.executeMenuCommand('Expand3');
Translate