35 Replies Latest reply on Jul 27, 2016 6:16 AM by Oleh Melnyk

    Adding user dictionary in InDesing preference-dictionary

    s_ashok Level 1

      Screen Shot 2016-07-15 at 1.17.01 PM-SANTHOSH.pngHi,

      Below are the code i can able to load the user dictionary in PC(windows). For mac its not working.

       

       

      with(app.dictionaryPreferences){

        //PC////  var fo ="C:/lib/GHM_07_July2016.udc"

        var fo="/Applications/GHM-Dictionary/GHM_07_July2016.udc"

        alert(fo)

      app.languagesWithVendors.itemByName('English: USA').addDictionaryPath(File(fo));

      }

       

      please guide me.

       

      Thanks in advance...

       

      Regards

      AshokInDesign ScriptingScreen Shot 2016-07-15.png