Need help deleting unused swatches in CS4

I upgraded from CS3 to CS4, and simultaneously switched platforms from windows to mac osx. Now I can't find the option for deleting all unused swatches in the swatch palette menu and I'm starting to feel insane because I've run several searches and no information about this is popping up anywhere. Can anyone help?

That's one way, I guess. But in CS3 I was able to select all unused swatches and then drag them to the trash. That way I could still have my default swatches for new projects. But I guess this feature was removed for CS4?

Similar Messages

  • Deleting unused swatches change the gradient

    Hi All,
    I have tried this Javascript to remove unused swatches in a document (Indesign CS4). It did remove all the unused swatches but it changed the used gradient color into black color and still has the gradient property but couldn't change any color values for that particular gradient after running the script.
    #target indesign
    var myIndesignDoc = app.activeDocument;
    var myUnusedSwatches = myIndesignDoc.unusedSwatches;
    for (var j=myIndesignDoc.unusedSwatches.length; j > 0; j--)
      myIndesignDoc.unusedSwatches[j-1].remove();
    Please advise me where I did wrong and also please suggest the right solution for this.

    Hi Friends
    Use this script it will help ful.
    # target "Deleting unused swatches change the gradient"
    var myIndesignDoc = app.activeDocument;
    var myUnusedSwatches = myIndesignDoc.unusedSwatches;
    for (var s = myUnusedSwatches.length-1; s >= 0; s--) {
         var mySwatch = myIndesignDoc.unusedSwatches[s];
         var name = mySwatch.name;
    // alert (name);
      if (name != ""){
    mySwatch.remove();

  • Delete unused swatches in InDesign CS5, js

    Hi,
    I need to select and delete unused swatches in InDesign CS5. I looked through OMV in "Swatches" and "Swatch", but I could not find any function to select unused swatch and delete it.
    Am I looking for it in the wrong place?
    And I also need to read color values for used swatches. I got this in OMV and was hoping it would give me an array of the color values for all existing swatches, but I am only getting "Object color":
    mySwatches = myDoc.swatches[1].getElements();
    alert (mySwatches)
    Thank you for your help.
    Yulia

    Hi Yuliaart,
    Try this script it will help ful.
    # target "Deleting unused swatches change the gradient"
    var myIndesignDoc = app.activeDocument;
    var myUnusedSwatches = myIndesignDoc.unusedSwatches;
    for (var s = myUnusedSwatches.length-1; s >= 0; s--) {
         var mySwatch = myIndesignDoc.unusedSwatches[s];
         var name = mySwatch.name;
    // alert (name);
      if (name != ""){
    mySwatch.remove();

  • Deleting unused swatches except for...

    I have a script that cleans up my document... one of the functions is that it deletes unapplied swatches. This works well for me most of the time but in instances where I'm using a color whose name begins with a "D", I want the script to ignore it.
    In my workflow, "D" represents a digital process and we don't apply a color swatch to digitally printed artwork but a "D" swatch is necessary for our output program to sort the job to the correct printer. The swatch names vary but always begin with a "D" (DBLK, DGLD, DGRN....).
    Thoughts, suggestions?
    Thank you very much for your help.
    //delete unused swatches
    var myIndesignDoc = app.activeDocument;
    var myUnusedSwatches = myIndesignDoc.unusedSwatches;
    for (var s = myUnusedSwatches.length-1; s >= 0; s--) {
         var mySwatch = myIndesignDoc.unusedSwatches[s];
         var name = mySwatch.name;
    // alert (name);
      if (name != ""){
    mySwatch.remove();
    (I found this little script somewhere in these forums - I apologize for not having the credit information available)

    Hi,
    replace the line:
    if (name != ""){
    with:
    if (name != "" && name.search(/^D/) == -1){
    ...(/^D/i) if not case sensitive...
    Jarek

  • I need help deleting and adding text

    i need help deleting and adding text, can soneone help
    Adobe Photoshop Elements 10

    You should delete your phone number from the topic line.
    Spambots search these forums for contact info.
    You don't want to get even more telemarketing/scam calls than you probably already get.
    It seems like the "Do Not Call" lists are ignored these days.
    Message was edited by: Bo LeBeau       Looks like someone already took care of this.

  • I need help with activating Adobe MC CS4

    Good day! I need help with activating Adobe MC CS4. Recent installation was not deactivated.I have Adobe License Certificate ID and other data and can provide it. Now activation not accept serial number provided in certificate.

    What message do you get when the serial number is not accepted?

  • Just got an iphone 4 from my dad and its his old iphone and i was gonna delete his account so i can put my account on the iphone but he does not remember the  password so I couldnt delete it. I need help deleting it without a password

    just got an iphone 4 from my dad and its his old iphone and i was gonna delete his account so i can put my account on the iphone but he does not remember the  password so I couldnt delete it. I need help deleting it without a password.

    If the iPad has Activation Lock - that is, it's asking for the previous owner's Apple ID and password to activate the device or to turn off Find My iPhone - then you will need that information. There's no way around it If your father can't remember the password, he'll need to recover it.
    http://iforgot.apple.com
    If he can't do it via that page, then he'll have to call Apple Support and ask to speak with Account Security.
    If that's not the "password" you meant, please post back and clarify.
    Regards.

  • Need help deleting graphic junk mail

    I need help. I cannot delete graphic junk mail into trash. When I try it says unable to move messages. Messages could not be moved to mailbox trash. And the dial keeps spinning. I'm not getting mail cuz this junk is bogging down my iPad & iPhone.
    Any suggestions would be greatly appreciated. I tried going on my MAC and deleting but they dont show up there?!? I tried rebooting, hard reset, nothin.
    Please anyone out there ? I'd be eternally grateful.

    If you cannot delete them on the Mac, it will probably be problematic trying to delete them on the iPad as well.
    You said you couldn't delete them on the Mac either. If you mean in the Mac mail app, don't delete them there. Delete them on the server in your web browser. Launch Safari - or whatever browser you use on the Mac and then go to your web mail and delete the email there.

  • Need help deleting an image field/pictures in worksheet

    I am in need of help!!! Added photos in an important .pdf document (a worksheet form that was pre-made) and I added image fields (Top box photo and small bottom box for text). I need to delete some image fields now and it won't let me. I upgraded my Adobe Reader to Acrobat XI Pro trial, still can't. If I try to edit image, it says I need to have Live Cycle designer to edit this form. Someone please help! This is my son's Eagle Scout worksheet and needs to be fixed tonight....please

    If the file was created in LiveCycle Designer then it can only be edited
    there.
    It's not clear in what way you edited it originally.

  • I need help deleteing documents from Abode ReaderIX

    Can someone please tell me how to delete documents - everytime I highlight a document to be deleted the delete never selects. I can not delete documents -- I need help please someone anyone help!!!!!!!!!!!!!

    Hi,
    Welcome to Adobe Forums.
    I didn't quite understood your issue.
    Are you trying to delete the content in PDF file?
    You cannot edit the content of the PDF file using Adobe Reader.
    Or are you trying to delete the document(PDF) file?
    You should be able to delete the PDF file like any other file on your computer.
    Please explain your problem in detail, this will help me to find a resolution quickly.
    ~ Aditya Kalania

  • Deleting Unused Swatches

    Because I'm unable to invoke the "Select All Unused" menu item of the Swatches panel menu I'm trying to attack it programmatically.
    What I'm trying to determine is if it's sufficient to compare the Fill and Stroke Color of each Path Item (every path item of current document) or are there other items that should be examined to achieve the same results as the command in the Swatches panel menu? Page Items doesn't appear to contain a Fill Color property. I've got AppleScript code that appears to do the trick, but I'd like to get input so as to make sure I'm not missing something that my testing might not have uncovered.
    Thanks!
    Stephan

    Another method might be to remove the extra swatches from the startup files (or New Document Profiles as they are now known) So there are fewer unused swatches to deal with. Relatively few people take the time to modify the action sets aside from adding new ones. Here's how the Delete Unused Panel Items looks in the Default _Actions.aia file
    /action-10 {
        /name (Delete Unused Panel Items)
        /keyIndex 0
        /colorIndex 0
        /isOpen 0
        /eventCount 8
        /event-1 {
            /internalName (ai_plugin_symbol_palette)
            /localizedName (Symbols)
            /isOpen 0
            /isOn 1
            /hasDialog 0
            /parameterCount 1
            /parameter-1 {
                /key 1835363957
                /showInPalette -1
                /type (enumerated)
                /name (Select All Unused)
                /value 12
        /event-2 {
            /internalName (ai_plugin_symbol_palette)
            /localizedName (Symbols)
            /isOpen 0
            /isOn 1
            /hasDialog 1
            /showDialog 0
            /parameterCount 1
            /parameter-1 {
                /key 1835363957
                /showInPalette -1
                /type (enumerated)
                /name (Delete Symbol)
                /value 5
        /event-3 {
            /internalName (ai_plugin_styles)
            /localizedName (Graphic Styles)
            /isOpen 0
            /isOn 1
            /hasDialog 0
            /parameterCount 1
            /parameter-1 {
                /key 1835363957
                /showInPalette 1
                /type (enumerated)
                /name (Select All Unused)
                /value 14
        /event-4 {
            /internalName (ai_plugin_styles)
            /localizedName (Graphic Styles)
            /isOpen 0
            /isOn 1
            /hasDialog 1
            /showDialog 0
            /parameterCount 1
            /parameter-1 {
                /key 1835363957
                /showInPalette 1
                /type (enumerated)
                /name (Delete Style)
                /value 3
        /event-5 {
            /internalName (ai_plugin_brush)
            /localizedName (Brush)
            /isOpen 0
            /isOn 1
            /hasDialog 0
            /parameterCount 1
            /parameter-1 {
                /key 1835363957
                /showInPalette 1
                /type (enumerated)
                /name (Select All Unused)
                /value 8
        /event-6 {
            /internalName (ai_plugin_brush)
            /localizedName (Brush)
            /isOpen 0
            /isOn 1
            /hasDialog 1
            /showDialog 0
            /parameterCount 1
            /parameter-1 {
                /key 1835363957
                /showInPalette 1
                /type (enumerated)
                /name (Delete Brush)
                /value 3
        /event-7 {
            /internalName (ai_plugin_swatches)
            /localizedName (Swatches)
            /isOpen 0
            /isOn 1
            /hasDialog 0
            /parameterCount 1
            /parameter-1 {
                /key 1835363957
                /showInPalette 1
                /type (enumerated)
                /name (Select All Unused)
                /value 11
        /event-8 {
            /internalName (ai_plugin_swatches)
            /localizedName (Swatches)
            /isOpen 0
            /isOn 1
            /hasDialog 1
            /showDialog 0
            /parameterCount 1
            /parameter-1 {
                /key 1835363957
                /showInPalette 1
                /type (enumerated)
                /name (Delete Swatch)
                /value 3

  • [CS3][VBS] Delete Unused Swatches ALSO clears Gradient Swatches!

    Hi Folks!
    Heres another weird one. This code deletes unused CMYK swatches properly but also sets the background of some gradient swatches to black.
    myUnusedSwatches = currentdoc.UnusedSwatches.Count
    For myLoop = 1 To myUnusedSwatches
    On Error Resume Next
    Set myUnusedSwatches = currentdoc.UnusedSwatches.Item(1)
    *** I even through this in as a last ditch solution, but it only works sometimes***
    if instr(lcase(currentdoc.unusedswatches.item(1).name), "gradient") = 0 then
    myUnusedSwatches.Delete
    else myUnusedSwatches.Save
    end if
    Next
    Any ideas?

    I think i've gotten to the bottom of this - the designers have been using 'Paper' as a white background for gradients. When a colour swatch with CMYK 0 is used, the script works.
    If TypeName(currentdoc.UnusedSwatches.Item(1)) = "Gradient" Then
    Doesn't work, unfortunately, because its not actually deleting the gradient, its setting its background colour to black; the unused swatch its deleting is actually a color swatch.
    Since there will be a lot of files here set up this way, can you think of any way to work around this? Why does this not happen when you do the same action in the UI ('select all unsused'> 'Delete')?
    Thanks again Ole!
    Adam

  • Need help - Deleted domain and can't re-add - Error domain already exists - Site down

    In trying to reconfigure our domain setup, I removed the main domain name in an attempt to re-add it so that it does not point to an external DNS server.
    I deleted the domain and now when I try to re-add it, I get the following error:
    Domain already exists.  Please delete all records associated with this domain before re-adding it.
    I have no way to submit a ticket when I go to help and support and our site is now down from the main page.  I need help ASAP.
    I was able to submit a case when I switched browsers (Chrome apparently does not display the search bar/case submission).  The case is
    OBNW5020171
    The domain I am trying to re-add is surfaid.org

    Hi,
    I just wanted to followup to see how this case is progressing.  This is
    very URGENT as our main URL is down and we are in the final stages of a
    major campaign where participants have been instructed to go to our website
    to sign up which could result in a loss of a lot of donations.
    Any priority this can be given would be very much appreciated.
    Thank you!
    Emily Taylor
    On Wed, Jan 9, 2013 at 11:25 AM, Sidney Mitchell

  • Need help deleting newly created folder...

    So, I'm using an iCal alarm to download a folder of files (.jpgs) using fetch. I then have a folder action set up to move the newly downloaded images to another folder, then they are separated by a "move by EXIF data" action.
    This all works well, but I need to delete the folder the images were originally downloaded in, so that when the Fetch/iCal action downloads the folder/images the next day, it doesn't create a new folder with a "-1" added to it.
    I have tried all the combinations of "Get Specified Finder Items," "Get Folder Contents" and "Move Finder Items to Trash," but I can't get this one little empty folder to go away...
    Any suggestions?
    Yer Pal,
    Gel-Sol

    Nevermind. I figured it out!
    I had an unecessary "Move Finder Items" action after a "New Folder" action. This somehow messed up the flow, cuz files are moved within the "New Folder" action.

  • Need help deleting SD cube/ods content from March on

    Hi,
    I need to delete the SD Cubes and ODSs content that was loaded into BW from March 1st on.
    These infoproviders are loaded by the following extractors:
    2LIS_13_VDITM
    2LIS_13_VDHDR
    2LIS_12_VCHDR
    2LIS_12_VCITM
    2LIS_11_VAHDR
    2LIS_11_VAITM
    All of them are updated by Direct Delta. I've been told this updated method writes the SD documents to the delta queue as they are created.
    So, I've thought about using 0CREATEDON field as deletion criteria.
    I would like to know if I can assume that I would delete all the records from March on by using 0CREATEDON as deletion criteria or If I would have to use additional/others fields as criteria. I'm not so sure about it yet.
    Thanks in advance,
    Tiago.

    Hi
    You can use 0CREATEDON to delete all the loaded requests from March. Or, you can even check all the requests in the ODS and Infocube that were loaded after March1st and manually delete the requests.
    Thanks

Maybe you are looking for

  • Using terminal to change IP address

    One emac has gone odd. It refuses it acknowledge the server and it has locked its IP address off the network. It retains the server prefs and won't let me use the sys prefs to open network. (I work in a school - obviously I lock them 80 ). Can anyone

  • Icon still in dock when print job has finished

    I am printing successfully to a Brother HL2700 Color Laser over a network. Can do this with Bonjour and also IP Printing. When my print job finishes the generic printer icon stays in the dock with the active triangle underneath it. This is not missio

  • Save a cluster in a file

    Hi! i'm trying to save a file with some data of my application. This Data is a cluster of some boolean data, some i32 data, some array of i32 and some string data. I use OPEN_CREATE_REPLACE File.vi, WRITE FILE and CLOSE FILE to create and replace fil

  • ITunes mini player in start tray?

    I recently had my computer reformatted and now I have my iTunes set up again as I did before. The only problem is this: Before- When I clicked on the minimize (_) button to minimize my iTunes it would put the mini player version of it in my start tra

  • Will any usb extender work with my apple wired keyboard?

    I'm about to buy a apple wired keyboard with the numeric keypad on ebay. I don't have an apple USB extender but I do have a normal usb extender that came with my old pc wifi dongle. Will this work with the apple keyboard? I've tried googleing but I'v