• 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 access the properties of effects like drop shadow etc. from scripting?

Participant ,
Oct 14, 2015 Oct 14, 2015

Copy link to clipboard

Copied

Hi All,

Is there any way to access the properties of effects applied via Effect->Stylize?

Let's say If I added a path item and apply drop shadow to it via Effect->Stylize->DropShadow.Will it be possible to get the Mode, X Offset, Y Offset etc. properties value using scripting?

Thanks for any help

TOPICS
Scripting

Views

473

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
Community Expert ,
Oct 14, 2015 Oct 14, 2015

Copy link to clipboard

Copied

Hi _VG,

not the best answer, but an answer:

Re: drop shadow of the art item

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
Guide ,
Oct 14, 2015 Oct 14, 2015

Copy link to clipboard

Copied

about the only option is to manually create a Graphic Style.

Then you can apply this via a script.

var doc = app.activeDocument;

var sel = doc.selection[0];

var style = doc.graphicStyles.getByName('DS');

style.applyTo(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
Explorer ,
Aug 30, 2022 Aug 30, 2022

Copy link to clipboard

Copied

LATEST

Anyone with the solution? 

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