1 Reply Latest reply on Sep 1, 2009 4:17 PM by sstanleyau

    [AS/CS4]  Add a script label to selected text frame problem


      This should be simple but I don't know why it isn't working.  Here's what I am trying:


      tell application "Adobe InDesign CS4"

      set selectedFrame to selection

      set label of selectedFrame to "Test"

      end tell


      Here is the error:


      Can’t set «class ptag» of {«class txtf» id 2315 of «class page» id 698 of «class sprd» id 691 of document "A00-0000 0000.indd" of application "Adobe InDesign CS4"} to "Test".



      What am I missing???