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

How to expand the selected object or group using script?

Community Beginner ,
Sep 07, 2023 Sep 07, 2023

I didn't see any documentation about that

TOPICS
How-to , Scripting
1.0K
Translate
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
Enthusiast ,
Sep 07, 2023 Sep 07, 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

Translate
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
Community Beginner ,
Sep 07, 2023 Sep 07, 2023

i want Object > Expand my selected group using extend script

 

Translate
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 ,
Sep 07, 2023 Sep 07, 2023

This command opens the Expand dialog box.

app.executeMenuCommand('Expand3');
Translate
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
Community Beginner ,
Sep 07, 2023 Sep 07, 2023

ahmeedev_0-1694147852371.pngexpand image

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

 

 

Translate
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 ,
Sep 07, 2023 Sep 07, 2023

Simulate Expand through effects, then apply Expand Appearance.

 

app.executeMenuCommand('Live Outline Object');
app.executeMenuCommand('Live Outline Stroke');
app.executeMenuCommand('expandStyle'); // Expand Appearance

 

 

Translate
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
New Here ,
Feb 14, 2025 Feb 14, 2025
LATEST

Thax bro its help me alot.

 

Translate
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