Skip to main content
Participating Frequently
March 24, 2010
Question

Need script to remove the effects used in the layout for Indesign CS3 (mac version)

  • March 24, 2010
  • 2 replies
  • 1994 views

Dear All,

I am using Indesign CS3. I need to remove all the effects applied for boxes (text and image) in a document. Now I am doing this mannually by selecting the object and select the "Object-->Effect--. Clear effect". Is there any script is available for this? This will helpfull for me.

Prithivirajan

This topic has been closed for replies.

2 replies

Steven__
Inspiring
March 24, 2010

Here is a non-traditional approach

var action = app.menuActions.itemByID(67880) if(action){      var doc = app.activeDocument;      for(var i=0; i<doc.spreads.length; i++){           doc.select(doc.spreads.allPageItems,SelectionOptions.REPLACE_WITH);           if(action.enabled){                action.invoke();           }      } }

id's don't usually change version to version.

It works on CS4, hopefully CS3 too.

Harbs.
Legend
March 24, 2010

Duh.

Of course! I always forget about invoking menu items...

Harbs

Harbs.
Legend
March 24, 2010

AFAIK there's no simple command to clear all effects. You need to loop

through all the transparency effects and turn them all off...

Harbs

Participating Frequently
March 24, 2010

Dear Harbs,

I new to scription and I dont know the scripting. Can you please explain in detail.

Prithivi