Use "Clear Effects" in InDesign from Applescript?

In InDesign in the effects panel under the menu there is a option “Clear Effects”.

Is there a way to use this feature with applescript?

hi
you could try using the Remove_Doc_Effects.jsx from

https://github.com/GitBruno/Novelty/tree/master/Scripts

and call it from a applescript, or add it to the scripts folder in Indesign and call it from the scripts menu in Indesign.

Alternatively, you can apply a basic object style; this may change the transparency settings as well, based on the source style. You can also apply a style created on the fly.

tell application "Adobe InDesign CS3"'s document 1 to apply object style page item 1 using object style "[Basic Graphics Frame]" with clearing overrides

I have thought about this case and perhaps it will be easier for me this time to copy the geometric bounds of my object and create a new rectangle that will be fresh and clean.

Hi,

you may try this:

Grtz.

Had to revisit this and tried out your suggestion, works just fine.

Thank’s a lot Eric!