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

how to remove transparency effects from all pages of indesign file

New Here ,
Feb 17, 2017 Feb 17, 2017

Dear all,

PLEASE HELP if you can

I have 650 pages indesign file, I used images n logos on every page and for design look and feel i had given 'Transparency effect' on some of images and logos. But now I want to remove the effect from all pages. As I am working on page by page, It is very time consuming. Is there any solution to 'remove transparency effect' from all of the pages in one go. ?

4.6K
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

correct answers 1 Correct answer

Community Expert , Feb 18, 2017 Feb 18, 2017

If you have done it via object styles—as it should be done—you need to change the object style. If not, you have to go through any object by object, as you could have applied different forms of effects. You can specify an object style which is only defined as no effects, but if you apply it to any object you will loose all links to existing object styles applied to different objects.

Translate
Community Expert ,
Feb 18, 2017 Feb 18, 2017

If you have done it via object styles—as it should be done—you need to change the object style. If not, you have to go through any object by object, as you could have applied different forms of effects. You can specify an object style which is only defined as no effects, but if you apply it to any object you will loose all links to existing object styles applied to different objects.

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 18, 2017 Feb 18, 2017

Thanks dear

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
LEGEND ,
Feb 18, 2017 Feb 18, 2017

Hi,

If you wanna remove "Transparency" everywhere, just do this:

var myAction = app.menuActions.itemByID(67897);

if (myAction) { 

     var myDoc = app.activeDocument,

     S = myDoc.spreads.length;

     while (S--) { 

          myDoc.select(myDoc.spreads.allPageItems,SelectionOptions.REPLACE_WITH); 

          if (myAction.enabled) myAction.invoke(); 

     } 

}

"It's a kind of magic!" as Freddy Mercury sang! 

(^/)

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
Guru ,
Feb 18, 2017 Feb 18, 2017

Really nice script, sir.

[EDIT]: Just discovered that while the script uses the menu command "Clear All Transparency" it clears any effect such as Drop Shadow, etc.

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
LEGEND ,
Feb 18, 2017 Feb 18, 2017

… Always a "kind of magic"! … Aha!

app.doScript("main()", ScriptLanguage.javascript, undefined, UndoModes.ENTIRE_SCRIPT, "Clear Transparency Eveywhere! …");

function main() {

    var myItems= app.activeDocument.pageItems.everyItem().getElements(),

    I = myItems.length;

    while (I--) {

        with (myItems.transparencySettings.blendingSettings) {

        blendMode = BlendMode.NORMAL;

        opacity = 100;

        }

    }

}

(^/)

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 Expert ,
Feb 19, 2017 Feb 19, 2017
LATEST

Hi Obi-wan,

if there is asked to remove all transparency from all pages ( the title of this thread ) we simply have to say good-bye to all the effects…

However, it's not exactly clear which of the various effects the OP likes to remove.

FWIW:

Your last snippet would not set opacity to value 100 to all page items of an InDesign document.

Why? Because it would not reach the page items that are nested. Anchored frames, frames in groups etc.pp.

document.allPageItems

would get all the elements ( in most * cases ).

* it would not get elements in non-active states of MultiStateObjects.

But that's a different discussion that we already had some years ago in the InDesign Scripting forum.

With a solution as well…

Regards,
Uwe

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