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

Soustraire une selection

After Effects: could not find dvaeve_dialogs.txt

Illustrator cs6 "Invalid Serial Number"