How change all languages of a Document to new Language?


     want change language of document new language , have not original language:

     code, not working.

       oindesign = createobject("indesign.application.cs5.5")

        odocument = oindesign.open(txtfile.text)

        oindesign.findtextpreferences = 1851876449

        oindesign.changetextpreferences = 1851876449

        oindesign.findchangetextoptions.includemasterpages = true

        oindesign.findchangetextoptions.includefootnotes = true

       ' oindesign.findtextpreferences.appliedlanguage =

        oindesign.changetextpreferences.appliedlanguage = oindesign.languageswithvendors(2)

        dim oatargetlist3 = odocument.changetext

 

how change languages of document new language?

thanks all.



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Adobe Refresh Managerについて

Sizing images of multiple resolutions for print on a page of one resolution

Illustrator cs6 "Invalid Serial Number"