0 Replies Latest reply on Feb 18, 2014 3:15 AM by BEGINNER_X

    Dictionaries

    BEGINNER_X Level 3

      Hi All,

       

      I need to add words in the Target menu "bbbb.indd"(active document) not for "User Dictionary".

       

      But my below coding add words in the User Dictionary only.

       

       

      var myUserDict = app.userDictionaries[21];
      
      alert("D: "+myUserDict.name);
      
      wordsArray = ["at~cok","bb~ote","ar~su", "si~raj"];
      
      myUserDict.addWord(wordsArray);    
      
      alert("Completed\n");
      

       

       

      For more clarification, please refer attachment...

       

      target indesignfile.png

       

      Kindly do the neeful for my request.

       

      Thanks in advance

      Siraj