0 Replies Latest reply on Aug 28, 2009 3:03 AM by Shail1202

    Export all text


      Hello All,


      I would like to export all text with the TextExportPreferences as

      .CharacterSet = idTextExportCharacterSet.idUnicode

      .Platform = idImportPlatform.idPC


      to test.txt file for active indesign file.


      Can you please suggest the vbscript for this?


      I have the part of it as ....the second part which will iterate through all text ....


      Rem TextExportPreferences.vbs
      Rem An InDesign CS3 VBScript
      Rem Sets the text export filter preferences.
      Set myInDesign = CreateObject("InDesign.Application.CS3")
      With myInDesign.TextExportPreferences
          Rem Options for characterSet:
          Rem idTextExportCharacterSet.idUnicode
          Rem idTextExportCharacterSet.idDefaultPlatform
          .CharacterSet = idTextExportCharacterSet.idUnicode
          Rem platform options:
          Rem idImportPlatform.idMacintosh
          Rem idImportPlatform.idPC
          .Platform = idImportPlatform.idPC
      End With