3 Replies Latest reply on Aug 31, 2011 2:59 AM by Linda Nicholls

    Measure Tool font colour

    BelAus

      How do I change the default font colour for the Measure Tool?

        • 1. Re: Measure Tool font colour
          Linda Nicholls Level 4

          With the measure graphic selected,cChoose Modify > Ungroup. Select the numbers and change their color in the property inspector.

          • 2. Re: Measure Tool font colour
            jeffharrissays

            This might be too late to help you BelAus, but perhaps others, like myself who had the same question might get some benefit.

             

            You can actually edit the JavaScript of the Measure Tool directly. A word of caution, I strongly recommend you create a copy/backup of the tool before you make any changes. You also need to remember that any of these changes will be lost once you upgrade to the next version of Fireworks. However,  its a pretty easy change to make and should be repeatable in future versions.

             

             

            1. In OS X, navigate to Applications:Adobe Fireworks CS5.1:Configuration:Auto Shape Tools.
            2. Here you'll find a list of .jsf files for various Auto Shape tools including Measure Tool.jsf
            3. Duplicate the Measure Tool.jsf
            4. Open the copy of the file in your favorite text editor
            5. Scroll down to about line 652-ish. It is a very long line and looks like this:  smartShape.elem.elements[1].textRuns = { initialAttrs:{ alignment:"center", antiAliasSharpness:192, antiAliasStrength:64, baselineShift:0, bold:false, face:fontname, fillColor:txtcol, horizontalScale:1, italic:false, leading:1, leadingMode:"percentage", overSample:8, paragraphIndent:0, paragraphSpacingAfter:0, paragraphSpacingBefore:0, rangeKerning:0, size:"12pt", underline:false }, textRuns:[ { changedAttrs:{  }, characters:txt+" "+ttip.px} ] };
            6. In this line you want to find fillColor:txtcol and modify it to look something like this fillColor:"#FF0000". Of course, you can pick any hex color you would like (#FF0000 is the same color of the measurement lines).
            7. Save the file and open Fireworks. In the smart tool list, you should now see the original Measure Tool and Measure Tool copy that you modified. Select the Measure Tool copy and test the results.
            8. At any time, you can change the name of the .jsf file to anything you like, e.g., Measure Tool Red.jsf, and the tool list in Fireworks will be updated to the more descriptive name.

             

             

             

            As an added bonus, you can also change the font size. Just find size:"12pt" towards the end of the same line and modify appropriately, e.g., size:"11pt".

             

            Here is what the new line will look like with both modifications:

             

            smartShape.elem.elements[1].textRuns = { initialAttrs:{ alignment:"center", antiAliasSharpness:192, antiAliasStrength:64, baselineShift:0, bold:false, face:fontname, fillColor:"#FF0000", horizontalScale:1, italic:false, leading:1, leadingMode:"percentage", overSample:8, paragraphIndent:0, paragraphSpacingAfter:0, paragraphSpacingBefore:0, rangeKerning:0, size:"11pt", underline:false }, textRuns:[ { changedAttrs:{  }, characters:txt+" "+ttip.px} ] };

             

             

            Happy measuring,
            Jeff

             

            • 3. Re: Measure Tool font colour
              Linda Nicholls Level 4

              My way is a lot easier. :-)