<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = "urn:schemas-microsoft-com:vml" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word" xmlns:m = "http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.17110" name=GENERATOR>
<STYLE><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        mso-believe-normal-left:yes;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></STYLE>
</HEAD>
<BODY lang=EN-US style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma" vLink=purple link=blue>
<DIV>Hi Gillian</DIV>
<DIV> </DIV>
<DIV>Thought I'd put this onto the list too, in case other people have the same question.</DIV>
<DIV> </DIV>
<DIV>To unlock colors, save as MIF, then search for the string:</DIV>
<DIV> <ColorAttribute ColorIsReserved></DIV>
<DIV>and globally replace it with nothing.</DIV>
<DIV> </DIV>
<DIV>When you open the file as a .fm again, Framemaker re-applies the ColorIsReserved attribute to the basic color set (red etc) but not to the fm_gen colors. This means you can use View>Color>Definitions to delete the fm_gen colors, though that's slow. </DIV>
<DIV> </DIV>
<DIV>Instead, you can just delete the fm_gen colors in the MIF by finding them in the ColorCatalog section and deleting them. You need to delete the whole definition for each color, which looks like this:</DIV>
<DIV> </DIV>
<DIV> <Color <BR>  <ColorTag `fm_gen_147474'><BR>  <ColorCyan  50.000000><BR>  <ColorMagenta  100.000000><BR>  <ColorYellow  50.000000><BR>  <ColorBlack  0.000000><BR>  <ColorAttribute ColorIsReserved><BR> > # end of Color<BR></DIV>
<DIV>If you haven't got a huge number of files, this is pretty quick.</DIV>
<DIV> </DIV>
<DIV>If you re-import CT formats from a clean template afterwards, FM will re-create the definitions it needs.</DIV>
<DIV> </DIV>
<DIV>And the standard disclaimer: back up your files before you mess with MIFs!</DIV>
<DIV> </DIV>
<DIV>Cheers</DIV>
<DIV>Rebecca</DIV>
<DIV><BR><BR>>>> Gillian Flato <Gillian.Flato@nexenta.com> 4/07/12 10:16 >>><BR></DIV>
<DIV class=WordSection1>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Rebecca,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I would love to know how to unlock those fm_gen colors. I have hundreds of them. They are just junk littering my files.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Thanks,<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Gillian<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<DIV>
<DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: medium none; PADDING-TOP: 3pt; BORDER-BOTTOM: medium none">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">From:</SPAN></B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> rebecca officer [mailto:rebecca.officer@alliedtelesis.co.nz] <BR><B>Sent:</B> Tuesday, July 03, 2012 3:12 PM<BR><B>To:</B> Gillian Flato<BR><B>Subject:</B> RE: Cleaning up color definitions<o:p></o:p></SPAN></P></DIV></DIV>
<P class=MsoNormal><o:p> </o:p></P>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Hi Gillian<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">I've just looked up what we did and it was more complicated than I'd remembered. We were trying to clean out FM10's self-generated colours that it assigned to overlapping conditional text, and it turns out that FM locks those so you can't delete them. We started by doing search and replace on the MIF files to unlock the colours, then we ran a script.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">I can look up more details if that sounds like the problem you're trying to solve, but our script was pretty rough and wouldn't be safe for anyone but us to use. The locked self-generated colours were a right pain until we worked out how to unlock them. That's not an issue unless you're using overlapping CT and want to change the CT indicator colours.<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"> <o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Cheers<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'">Rebecca<o:p></o:p></SPAN></P></DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"><BR><BR>>>> Gillian Flato <<A href="mailto:Gillian.Flato@nexenta.com">Gillian.Flato@nexenta.com</A>> 4/07/12 04:09 >>><BR>Rebecca,<BR><BR>Do you just manually delete the colors or do you use a script?<BR><BR>Thanks<BR>-Gillian<BR><BR>-----Original Message-----<BR>From: rebecca officer <A href="mailto:[mailto:rebecca.officer@alliedtelesis.co.nz]">[mailto:rebecca.officer@alliedtelesis.co.nz]</A> <BR>Sent: Tuesday, July 03, 2012 3:00 AM<BR>To: Gillian Flato<BR>Subject: Re: Cleaning up color definitions<BR><BR>No, but we've done it pretty fast by editing MIF files. Let me know if you want more detail - I'm at home but can look it up tomorrow.<BR><BR>Cheers<BR>Rebecca<BR><BR>>>> Gillian Flato <<A href="mailto:Gillian.Flato@nexenta.com">Gillian.Flato@nexenta.com</A>> 07/03/12 6:06 PM >>><BR>Anyone know of a tool that allows you to clean up color definitions like BookVars cleans up variables?<BR><BR>Thank You,<BR><BR>Gillian Flato<BR>Senior Content Developer<BR>Skype: Gillian.B.Flato<BR><A href="mailto:Gillian.Flato@nexenta.com">Gillian.Flato@nexenta.com</A><BR><BR>[Description: os-oct]<BR><BR><BR>NOTICE: This message contains privileged and confidential information intended only for the use of the addressee named above. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action in reliance on it.<BR>If you have received this message in error please notify Allied Telesis Labs Ltd immediately.<BR>Any views expressed in this message are those of the individual sender, except where the sender has the authority to issue and specifically states them to be the views of Allied Telesis Labs.<o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Tahoma','sans-serif'"><BR>NOTICE: This message contains privileged and confidential<BR>information intended only for the use of the addressee<BR>named above. If you are not the intended recipient of<BR>this message you are hereby notified that you must not<BR>disseminate, copy or take any action in reliance on it.<BR>If you have received this message in error please<BR>notify Allied Telesis Labs Ltd immediately.<BR>Any views expressed in this message are those of the<BR>individual sender, except where the sender has the<BR>authority to issue and specifically states them to<BR>be the views of Allied Telesis Labs. <o:p></o:p></SPAN></P></DIV>
<BR>NOTICE: This message contains privileged and 
confidential<BR>information intended only for the use of the addressee<BR>named 
above. If you are not the intended recipient of<BR>this message you are hereby 
notified that you must not<BR>disseminate, copy or take any action in reliance 
on it.<BR>If you have received this message in error please<BR>notify Allied 
Telesis Labs Ltd immediately.<BR>Any views expressed in this message are 
those of the<BR>individual sender, except where the sender has the<BR>authority 
to issue and specifically states them to<BR>be the views of Allied Telesis 
Labs.
</BODY></HTML>