2 Replies Latest reply on Apr 23, 2008 4:58 AM by (Steve_Suranie)

    Change  font of text range

      I keep getting an error when I run this script. The error message reads:

      Can't set font of [string] to Verdana

      Here's my code:

      tell application "Adobe InDesign CS3"
      tell front document
      set thisStory to contents of story id 173

      set applied font of thisStory to "Verdana"
      set font style of thisStory to "Bold"
      on error errMsg
      return errMsg
      end try
      end tell
      end tell

      What am I doing wrong here?