AS CS3 - remove not used color in documents in a book

Hello, I have a big problem ...
I have an InDesign book composed of approx. 120 documents Indesign.
My question: Did you know a script able to delete unused nuances in every document composing a book rather than to make it document by document (120 documents) by the menu of the color swatches.
Thanks

Not a requirement I've come across earlier, but it doesn't sound too hard.
for (var i=0; i<app.books[0].bookContents.length; i++)
var currentDoc = app.open (app.books[0].bookContents[i].fullName, true);
for (var j=currentDoc.unusedSwatches.length; j > 0; j--)
  currentDoc.unusedSwatches[j-1].remove();
  currentDoc.close(SaveOptions.YES);
This script assumes you have your one (and only one!) Book on screen. It opens each of the Book documents one by one, removes the swatches, and closes it again.
There has always been some disagreement on what makes a swatch "unused", and I'm assuming this works the same as it does in the User Interface -- it removes what's possible and leaves the rest.

Similar Messages

  • Could not use color replacement tool because it only works in full color mode: Elements 11

    I have a PSD file open and I added a new layer via the copy command.  I have added a Layer Mask to the new layer and I'm trying to use the Brush Tool with black forground to cover part of the new layer.  I'm following an online tutorial step by step, but when I try to use the Brush Tool I get "could not use color replacement tool because it only works in full color mode".  The Image>Mode is set to RGB.  I'm stuck!

    First, show the tools optiond in the bottom of the screen (shortcut F4)
    Now look at which of the three options you can select, brush, impressionist brush or replacement tool. I suspect you have to select the brush.
    Edit:
    The reason of the message is that when you are painting on a mask you are in greyscale mode for the mask. For instance, if you paste a coloured layer into a mask, it will be converted to greyscale.

  • Like Norton Utilities for PCs, is it helpful to use a software on a MBP to clean up junk that is not used programs and documents?

    Like Norton Utilities for PCs, is it helpful to use a software on a MBP to clean up junk, that is not used programs or documents? If so what's the best software for this?

    No. See this recent thread and always look on right side bar for "More like this"
    https://discussions.apple.com/thread/5098172?tstart=0
    Norton for one thing does more harm than good and tries to modify the system's behavior.
    Your post is not in the MacBook Pro area, would also be more along t he lines of something for OS X Mavericks Community.
    MacBook Series Forums
    https://discussions.apple.com/community/notebooks?view=discussio 
    http://www.apple.com/support/macbookpro
    Mac OS X Forum
    https://discussions.apple.com/community/mac_os?view=discussions

  • [AS] List of used colors in document

    AppleScript question
    Is there a way to get a list of colors used in a document?

    This oughtta do it...
    tell application "Adobe InDesign CS3"
    tell document 1
    get every color
    get name of every color
    get color value of every color
    get space of every color
    end tell
    end tell

  • CS3 will not print color pictures

    Photo Shop will not print color pictures. It printed fine for over a year then just quit printing in color a few months ago.  A work around was given by our Higher head Quarters but when printing this way the pictures do not print properly and the pictures can't be adjusted or modified any.  
    Machines having this problem are running Windows XP. 
    What are the proper setting for this program? 
    Do I need a software update?

    Check the updater and make sure you installed the updates for Photoshop CS3.
    But most likely this is a configuration issue with your printer driver.
    Many drivers do have settings that force black and white printing, overriding what the application sends to the driver.

  • Nvidia binary driver: can not use color correction.

    hey,
    When using nvidia-settings, I can not change brightness, contrast and gamma in the Xserver Color Correction. I change the values but the display directly goes back to the default configuration.
    anyone experienced the same?
    Linux kalak 2.6.37-ARCH #1 SMP PREEMPT Tue Mar 15 09:21:17 CET 2011 x86_64
    nvidia 260.19.44-1
    xorg-server 1.9.4.901-1

    hey,
    When using nvidia-settings, I can not change brightness, contrast and gamma in the Xserver Color Correction. I change the values but the display directly goes back to the default configuration.
    anyone experienced the same?
    Linux kalak 2.6.37-ARCH #1 SMP PREEMPT Tue Mar 15 09:21:17 CET 2011 x86_64
    nvidia 260.19.44-1
    xorg-server 1.9.4.901-1

  • I can not use the game apps in face book and i have downloaded the firefox 4 times

    i like to play dragons of atlantis on face book but i downloaded firefox 4 4 times and the app wont load but works fine with windows internet explorer i am useing windows vista

    Go to settings->general->touch id and pass code. There you can toggle on the use touch id to purchase apps. You do have to put your password in the first time to initiate touch id to purchase apps.
    Also when your iPhone dies you have to renter the password again just like you have to enter the pass code when you unlock your iPhone.
    Hope this helps.

  • Need to use color profiles? If so, which one?

    1. Do I need to set a color profile in InDesign / Photoshop / Illustrator when matching a color to a Pantone Bridge book CMYK swatch?
    2. If I do / do not use color management, will I have inconsistencies with my Photoshop tif and my Illustrator eps being placed into my InDesign doc, and finally output to PDF for an online printer?
    I don't yet have a calibrated monitor and I need a visual reference that's reliable in terms of the fake "solid" color I'll be printing (a yellow-ish gold color)?
    Thank you for any thoughts and input!

    Let's see:
    1.) The Pantone "Bridge" swatches are or can be used in addition to existing Pantone libraries already installed with the application(s). This can be done whenever it's convenient.
    2.) Your color settings actually should be setup before you start designing, preferably when you've completed the installs. The concern is your RGB settings when you created the .tif in Photoshop. A workaround would be to open the file and "Assign Profile", hypothetically this would update the file and be updated in InDesign as well. The export to PDF is correct as long as the same color settings are applied.
    3.) Your color settings are a personal preference, however I'd choose: RGB space = Adobe RGB, CMYK space = SWOP coated or US sheetfed coated v2, select: Use Blackpoint Compensation, and 20% dot gain ( default ).
    Always consult the online printer and see what they accept and ask them if they have a profile. If they do, you should be able to "Assign Profile" in InDesign.
    The Pantone reference books are based on US Prepress workspaces and are the defacto standard in the industry, so you can trust them.
    Remember, it would be prudent for you to get an accurate proof before sending the job online. This gives you the opportunity to "catch" whatever mismatches ( if any ) occur before it ( the job ) goes to press.

  • Why doe's my 8500A printer use color ink when printing black and also when unit is cleaning

    I only print in black. I am required to buy all the colors because my printer will not operate when any cartridge is empty.
    I was informed at Office Depot that all printers operate this way.  According to them it also uses ink when it goes through
    the cleaning cycle.
    The XL ink package at Office Depot  (black, yellow, cyan, magenta) is $97.00 + tax.
    I hope someone has a logical answer why this is set up this way.
    Why do I need colors to print black?

    The 8500A takes 4 ink cartridges and 2 printheads (one for black/yellow, and another for the other two colors). This design is so that you have have larger ink cartridges (stationary on the side, the printer only moves the printhead during printing). A drawback is, you have to have all the cartridges in, without the ink cartridges, the printheads could be damaged and would cost more to replace.
    Printing black text uses black ink only, it does not use color ink. The "Clean printhead" function does print a color page and uses color ink, but you only need to do this when you notice lines missing (printhead clogged) in the printout.
    If you print mostly black only, choose a model that uses cartridges that has a printhead built in. These printers typically can still print black with color ink out.
    ======================================================================================
    * I am an HP employee. *
    ** Make it easier for other people to find solutions, by marking my answer with "Accept as Solution" if it solves your issue. **
    ***Click on White “Kudos” STAR to say thanks!***

  • 1600 all-in-one series printer error message to remove and check color cartridge will not go away

    Error message, remove and check color cartridge will not go away even after replacing cartridge (same refilled).  Any help would be appreciated.

    I had the very same problem with my HP Officejet 7410 so cleaned the ink cartridge and carriage contacts per the directions listed on this link: 
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01423559&tmp_task=solveCategory&cc=us&dlc=en&la...
    After my first attempt at cleaning these contacts, i reinserted the cartridge and tried printing again but I got the same error message.  Next I removed both cartridges (color & black) from their slots and after pointing a flashlight at the carriage I discovered the bottom of the carriage was covered with ink, so....using over a dozen cotton swabs I cleaned the bottom of the carriage as best i could.  Also, thinking that perhaps the ink cartridge was not manufactured exactly to its proper size and shape, when i inserted the cartridges back into their slots I slightly pressed them in to be sure the contacts would touch. 
    I was happy to see that now the error message is gone and my printer is printing again....well, at least for now.

  • Why is my printer HP Officejet 6600 using color ink even though I'm not printing in color?

    I've had this printer about a year now. I've replaced the entire line of ink cartridges at least 3 times now, working on 4. I don't print much at all. A couple of sheets a day or so. I always thought that it was using color ink very quickly so I thought I'd put it to a test. I changed the default settings to black ink only. I replaced all of the ink cartiridges, color and black. I decided this time I wouldn't print anything in color just to see what happened. Well the same thing is happening as if I were using color ink. The color ink is draining out much quicker than the black ink. This seems weird to me. Now we are at the point where it won't print unless I replace the magentia cartridge. This also seems unfair that they do not mention this clearly when you purchase the item. Something like "Oh, by the way, we aren't making enough money doing business as we should, so we will make you replace your ink supply even though it really isn't necessary and that should pick up the slack". I've paid for a new printer already with ink costs. Is there a way to get around this or am I stuck with it. Thanks.
    This question was solved.
    View Solution.

    When you set the printer to print in grayscale did you also select "Black ink only"?
    HP and other printer manufacturers have different printer technologies for different needs.  
    Some have printheads built into the ink cartridges.  These printers can typically print with one or more of the colors completely empty, or even with color or black (but not both) cartridges removed. The Deskjet 6980 series is an example. 
    Other printers have separate ink supplies and replaceable printheads.  An example would be the Officejet 8600 printer.  The printhead in these printers can be replaced if they are damaged by running the printhead with colors out.  Some of these printers will allow printing with a color out, other will not.  If the printer is run without ink in one or more colors the printer may be damaged, but the user may be able to recover without having to send the printer for service.
    Other printers have permanent printheads.  To run these without some ink in all the colors would risk causing damage to the printhead due to clogs, air ingested in the printheadvor burned out printhead firing resistors. The Photosmart 6600 series is an example of this type of printer. For printers with fixed printheads this could require service to get the printer to print properly again when the ink is finally replaced.  
    The document here describes how ink is used.  While the document is written for HP Inkjet printers the same principles apply to inkjet printers from other manufacturers.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Why is Merge into single pdf using InDesign CS3 and not CS4 ?

    I'm new to this so the question may be trivial, but it beats me:
    I've created some InDesign files in CS4 and want to combine them into one PDF. So I opened Acrobat 9 Pro and
    navigated to "Merge files into single pdf". I chose the CS4 InDesign files to Add and clicked the Combine Files button.
    BUT, this starts up InDesign CS3 and not InDesign CS4 and returns a pop-up saying "unidentified error".
    Why is starting CS3 InDesign and not CS4, and what is the "unidentified" error ! ?
    As background I intially installed CS3 and then updated to CS4, leaving the CS3 applications intact. When I initially
    bought CS3, just before CS4 was released I may have created pdfs from InDesign as an experiment, but it is possible I have not done this
    since upgrading to CS4.
    Thanks for any help

    Thanks Michael, I was not aware of quality issues. Actually this is not really significant for my usage this time. What I'm doing is just using ID to capture notes/images/links etc in several free format ID documents. I then planned to merge them quickly into one pdf using Acrobat. I can easily shuffle the file order around to create a handy portable pdf reference document with the Merge feature.
    Doing something similar from ID seemed to me to require me to create pdfs for each ID doc and them to merge them in Acrobat. I did start to write a simple script to do this in ID, but I then realised that I wanted the ordering to vary and the ID files would likely to change. Then I found the merge and bingo, that solved it..... Well it solved it on another CS4 installation that had never seen CS3, but not on my machine which had been upgraded from CS3.
    I tried looking in the registry for obvious entries that might point Acrobat to use ID CS3 rather than CS4, but couldn't spot anything. I wonder if there is something buried in there ?
    Thanks again for helping
    Regards.

  • I have an apple id but ı can not use it for sign in to itunes connect account while publishing my ibook document. Why ı can not login? What can ı do to figure out this problem?

    I have an apple id but ı can not use it for sign in to itunes connect account while publishing my ibook document. Why ı can not login? What can ı do to figure out this problem?

    As note already on the iBA forum [ AppleID for ibooks publishing ], you need two IDs. You can't use your developer ID.
    If you already signed up for books with that ID, you need to talk to Apple to straighten things out.

  • I am trying to print a color photo on my MacBook Pro from iPhoto (not using Photoshop) using Epson 2200 printer, and everything I do in the Color Matching and Print Settings results in a photo with a pink cast to it. What am I doing wrong?

    I am trying to print a color photo on my MacBook Pro from iPhoto (not using Photoshop) using Epson 2200 printer, and everything I do in the Color Matching and Print Settings results in a photo with a pink cast to it. What am I doing wrong?

    Have you checked the ink cartridges and made sure the nozzles are clear? Are you able to print from outside of iPhoto with the correct color?
    Try the following: make temporary copy of the library and do the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home()/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
         User/Home()/Library/Caches/com.apple.iPhoto folder. 
    3 - launch iPhoto and try again.
    NOTE: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto.  You'll also have to reset the iPhoto's various preferences.
    OT

  • I bought a Mac PowerBook in 2008. It came with InDesign CS3. I did not use it. My computer was stolen in 2014. I had backed up the hard drive. I reinstalled on my new Mac laptop. I want to use the CS3 now. It will not download or install. What do I do?

    I bought a Mac PowerBook in 2008. It came with InDesign CS3. I did not use it. My computer was stolen in 2014. I had backed up the hard drive. I reinstalled on my new Mac laptop. I want to use the CS3 now. It will not download or install. What do I do?

    From where are you trying to download it?

Maybe you are looking for

  • Can you buy iPhone 5 at full price at Apple and then bring it into VZ to activate?

    As with many people asking today, I'd like to keep my unlimited plan. No current discussion seems to apply exactly to me so I'm making a new one. Here is a quick summary and then my question: I'm not an account manager but I pay my share of the bill

  • How interactive can Keynote be? - newbie question

    I've owned keynote for almost a year, but have never opened it up to use it since I don't do many presentations anymore. I primarily do web work, so I was wondering if keynote has any features to help with that part of my business. For instance, can

  • Mini Calendar does not show the correct date

    Hi there , in iCal on the bottom left side of the window is the mini Calendar, when I switch between months in this mini Cal,it does not show the correct month anymore and even the button "Today" can not revert the day back ( for example we are now i

  • What are the PSE 8 default locations for photos and catalog files in Windows 7?

    I can only find this information in the Knowlege Base for XP and Vista. Thanks for help

  • New Install of

    Hey, well i finally did it... went out and got Xfi card I forgot to uninstall the Audigy 2 Software first, i thought the Xfi software might delete and install. Now how do i get rid of the Audigy 2 stuff? I have a sub folder in C:\Creative for Audigy2