Skip to main content
Mnietek1
Inspiring
January 15, 2020
Answered

[ID Scripting] how to enable innerGlow settings in object style?

  • January 15, 2020
  • 1 reply
  • 232 views

I can't enable innerGlow settings while creating new object style.

This code creates new object style and last line prints to console "true" but in application innerGlow settings is not active. Why???

var style = app.activeDocument.objectStyles.add();
style.objectEffectsEnablingSettings.enableInnerGlow = true;
$.writeln(style.objectEffectsEnablingSettings.enableInnerGlow)

 

This topic has been closed for replies.
Correct answer Mnietek1

OK - I found the answer:

style.transparencySettings.innerGlowSettings.applied = true;

 

1 reply

Mnietek1
Mnietek1AuthorCorrect answer
Inspiring
January 15, 2020

OK - I found the answer:

style.transparencySettings.innerGlowSettings.applied = true;