0 Replies Latest reply on May 23, 2010 1:51 AM by Harbs.

    hasOwnProperty()

    Harbs. Level 6

      Next problem:

       

      It looks like hasOwnProperty() does not work on InDesign objects...

       

      This causes an error:

       

      if(app.hasOwnProperty("documents")){

      //no go...

      }

       

      Here's the error that I get:

       

      Error: Error #2091: The Proxy class does not implement hasProperty. It must be overridden by a subclass.

       

      Harbs