15 Replies Latest reply on Oct 16, 2018 12:59 AM by Peter Kahrel

    Exporting TextFrame to Snippet fail (bug?)

    Loic.Aigon Adobe Community Professional

      Hi,

       

      If I select a TextFrame and run exportFile to Snippet, everything is fine. If I select the insertionPoint and climb up towards the textframe then run the exportFile command on parent text frame, it fails. Same object as command source but two results :\

       

      someSelectedTextFrame.exportFile ( ExportFormat.INDESIGN_SNIPPET, f ); //SUCCESS

      someSelectedInsertionPoint.parentStory.textContainers[0].exportFile ( ExportFormat.INDESIGN_SNIPPET, f ); //FAIL

       

      I can't see why it would behave differently. It's lack the source object remains the insertionPoint somehow even if I run command from parent text frame :\

       

      Any ideas welcome.

       

      Loic