Skip navigation
Per Berntsen
Currently Being Moderated

Deleting all text boxes and images on one layer

Aug 20, 2012 2:44 AM

I am designing a 240 page book where nearly every page contains at least one image and at least one text box.  The book will be printed with a varnish (a fifth plate) on every image.

The printer has instructed me to set up the varnish in the following way in InDesign:

 

  1. With the finished book, make a duplicate layer.
  2. Delete all text boxes on the new layer (including page numbers)
  3. Delete all images (but not their containers) on the new layer
  4. Fill all the empty image containers with 100% black

 

I have done this previously with an even bigger book, and it did of course take several hours, and it's also easy to make mistakes. So I thought it might be possible to do this with a script - only problem is I know nothing about scripting - so I wonder if someone would be willing to help me out?

Thanks in advance! Using ID CS5.5, win xp pro sp3.

 
Replies
  • Currently Being Moderated
    Aug 20, 2012 6:28 AM   in reply to Per Berntsen

    If you drop me your email address, I'll send you the script

     

    Mike Wedge

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 28, 2012 2:20 AM   in reply to Per Berntsen

    Hi Both,

     

    I am having a similar problem.

    I have to extract all images to a new layer, without modifying the size of the container.

    As long as I am not an expert in scripting I have tried to do a simple code to obtain all links and go to its parent to change its itemlayer property to the new layer. But it is not what I am looking for and it has not work.

    The layout of the current layer is based in tables, so images are anchored objects inside table cells, so when I run the simple script I mentioned I also get errors becuase it says the items are grouped. And even if I first run a script to ungroup everything I get the error.

     

    I would appreciate help.

     

    Thanks in advance.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points