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

Remove style icons....

Explorer ,
Dec 09, 2008 Dec 09, 2008
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
TOPICS
Scripting
1.1K
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 ,
Dec 09, 2008 Dec 09, 2008
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.
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 ,
Dec 09, 2008 Dec 09, 2008
Just change some attribute, and then change it back...

--
Harbs
http://www.in-tools.com
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 ,
Dec 09, 2008 Dec 09, 2008
>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
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 ,
Dec 09, 2008 Dec 09, 2008
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
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 ,
Dec 09, 2008 Dec 09, 2008
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
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 ,
Dec 09, 2008 Dec 09, 2008
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.
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
Participant ,
Dec 09, 2008 Dec 09, 2008
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
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 ,
Dec 09, 2008 Dec 09, 2008
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
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
Explorer ,
Dec 09, 2008 Dec 09, 2008
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
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 ,
Dec 09, 2008 Dec 09, 2008
Thiyagu,

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

--
Harbs
http://www.in-tools.com
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
Explorer ,
Dec 10, 2008 Dec 10, 2008
LATEST
Ok harbs...
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