11 Replies Latest reply on Dec 10, 2008 8:08 PM by dhishok

    Remove style icons....

    dhishok Level 1
      Hi everyone,

      I need help from you regarding, remove icon from the styles. If the styles are imported from other applications, the floppy icon which are displayed along with the paragraph or character styles... If i do any modifications in the styles the icon will be remove automatically. But it not possible for all styles. I have more than 100 styles in my document. Please help me for this. Thanks in advance.

      Regards
      Thiyagu
        • 1. Re: Remove style icons....
          [Jongware] Most Valuable Participant
          You cannot manipulate the icons through scripting. It's built-in behavior.

          For absolute control, you could look into plugins -- read the resources described here for more information.
          • 2. Re: Remove style icons....
            Harbs. Level 6
            Just change some attribute, and then change it back...

            --
            Harbs
            http://www.in-tools.com
            • 3. Re: Remove style icons....
              [Jongware] Most Valuable Participant
              >Just change some attribute, and then change it back...

              That's interesting. Are you suggesting that that approach should work?

              I tried it *before* posting, and hence came to my conclusion it can't be done.

              "They thought that it could not be done, some even said they knew it,
              But he faced up to what could not be done, and he couldnt bloody do it!" -- Benny Hill
              • 4. Re: Remove style icons....
                Harbs. Level 6
                jongware@adobeforums.com wrote:
                > That's interesting. Are you suggesting that that approach should work?
                >
                Yes. It works in the UI. I didn't try it with scripting, but I didn't
                imagine that doing it with a script should produce different results. I
                just tried it and you seem to be right. I don't like "can't be done", so
                I'm going to try to figure out a way. Let's see if I'm going to have to
                quote Benny Hill as well... ;)

                P.S. Very funny! :)

                --
                Harbs
                http://www.in-tools.com
                • 5. Re: Remove style icons....
                  Harbs. Level 6
                  Okay.

                  figgurd out a way...

                  if(style.imported){
                  name =style.name;
                  b=style.duplicate();
                  style.remove(b);
                  b.name=name;
                  }

                  I'm going to have to differ with Mister Hill. :-D

                  --
                  Harbs
                  http://www.in-tools.com
                  • 6. Re: Remove style icons....
                    [Jongware] Most Valuable Participant
                    oooh -- devious! But it seems to do the trick.

                    ...
                    Why would it matter to
                    i anyone
                    if there are 'imported' icons on some styles and not on others? If you use/change the imported styles, the icons disappear automatically. If you style your document, replacing imported styles with your own, then you can select "Select all unused" and you can delete them en masse.
                    • 7. Re: Remove style icons....
                      Level 1
                      In fact, automating those icons away is an almost dangerous idea. It means you now have to look carefully at every name to work out if this is a style you really want in your document.

                      Dave
                      • 8. Re: Remove style icons....
                        Harbs. Level 6
                        Dave_Saunders@adobeforums.com wrote:
                        > In fact, automating those icons away is an almost dangerous idea. It means you now have to look carefully at every name to work out if this is a style you really want in your document.
                        >
                        Yeah. I can't imagine why he wants to do this. I just felt a need to
                        prove it can be done... ;)

                        --
                        Harbs
                        http://www.in-tools.com
                        • 9. Re: Remove style icons....
                          dhishok Level 1
                          Hi everyone,

                          Thanks to all of your responses. For e.g. We have to Design the sample in InDesign but all are same as of previous edition. The previous edition files are Quark files. Only the application platform is changing. While converting these Quark files into InDesign obviously the styles which are comes with floppy icons. We have to create pure design sample of InDesign. So we are supposed to remove this icons. OK I have one idea, can you tell me whether it is possible or not. First we have to get the attributes of each and every style in array, delete the old one and create new style with the same attributes, style name of the old one. Please suggest. Thanks in advance.

                          Regards
                          Thiyagu
                          • 10. Re: Remove style icons....
                            Harbs. Level 6
                            Thiyagu,

                            It's even easier than that. I showed you a few messages back how...

                            --
                            Harbs
                            http://www.in-tools.com
                            • 11. Re: Remove style icons....
                              dhishok Level 1
                              Ok harbs...