1 Reply Latest reply on Mar 29, 2011 7:32 PM by John Hawkinson

    Font size

    JonnyDL Level 1

      I'm having an issue trying to get a smaller font (change its size)

      I've tried set point size to 8

      by itself and wrapped in tells but all came out to an error

       

      this is what I have

       

      set numtextframe to make text frame

      set geometric bounds of numtextframe to {1, myPageWidth, 1.25, myPageWidth + myPageWidth}

      set pdftextframe to make text frame

      set geometric bounds of pdftextframe to {1.5, myPageWidth, 1.25, myPageWidth + myPageWidth}

       

      set numslug to "    filename: "

       

      set the contents of numtextframe to numslug

      make new text variable instance with properties {associated text variable:"File Name"} at numtextframe

       

      I'm trying to get the contents of the text frame to about a font size of 8

      (if have three other  text frames going up just like this one)

       

      Can anybody give mea hand?

        • 1. Re: Font size
          John Hawkinson Level 5

          This works. Does it tell you what you need to do?

           

          tell application "Adobe InDesign CS5"
               tell active document
                    set point size of first paragraph of first text frame to 80
               end tell
          end tell