Skip to main content
Participating Frequently
September 7, 2023
Question

How to expand the selected object or group using script?

  • September 7, 2023
  • 1 reply
  • 1247 views

I didn't see any documentation about that

1 reply

Sergey Osokin
Inspiring
September 7, 2023

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

AhmeedevAuthor
Participating Frequently
September 8, 2023

i want Object > Expand my selected group using extend script

 

AhmeedevAuthor
Participating Frequently
September 8, 2023

This command opens the Expand dialog box.

app.executeMenuCommand('Expand3');

Thanks, it works, is there any way to avoid from this dialog?