0 Replies Latest reply on Nov 17, 2015 4:33 AM by JonnyDL

    Changing Font Colors

    JonnyDL Level 1

      Im in the process of writing a script that converts picks to BW and relinks them. I seem to be having problem getting the correct syntax to find all the text boxes and change them to black (except for any font with a fill color of paper.

      I've been experimenting just to get one of them to change, once I get one the rest should be easy

      tell application "Adobe InDesign CS6"

        tell document 1

        --set allTextBoxes to text frames of page 1

        --repeat with textboxnum from 1 to count allTextBoxes

        select text frame 1

        set fill color of text frame 1 to swatch color black

        --end repeat

        end tell

      end tell

       

      can anybody help