2 Replies Latest reply on Sep 24, 2015 4:19 AM by aviR



      hello all


      i m adding a key and value to a hashtable but its shoeing error as -- object not set to instance of an object.


      ex- hashtable.add("extractlabel id","object page name")


      Where am i wrong?


      Please help


      Thank you

        • 1. Re: hashtable
          Peter Kahrel Adobe Community Professional & MVP

          InDesign doesn't have a hashtable object (nor does ExtendScript). You probably want to define an object (or associative array) yourself and and kes and values, as in


          myHashTable = {};

          myHashTable["extractlabel id"] = "object page name";


          • 2. Re: hashtable
            aviR Level 1

            Thanks for replying

            I use vb.net so hashtable.

            I got the issue sorted. I had to add a NEW keyword at the time of declaration of the hashtable.