2 Replies Latest reply on Mar 9, 2010 12:11 AM by jag_paw

    How to find textframes connected to a story in indesignserver scripting

    jag_paw Level 1

      A story flows through many threaded text frames in a indesign cs2 document. I am able to find the textframes by using

       

      if txtframe.label = "XX" then

      set mystory = txtframe.parentstory

      mystory.textframes.count gives the count of textframes used by the story.

      This works in indesign cs2 script.

       

      I save the document as Indesigncs3server doc.

      copy the textframes to new layer, the same code (in indesignserverCS3 scripting)

       

      if txtframe.label = "XX" then

      set mystory = txtframe.parentstory

      mystory.textframes.count is 0 here. I am not able to get the textframes linked to the story.

       

      Any clue on what mistake i am doing?

      plz help.