2 Replies Latest reply on Sep 10, 2008 12:43 PM by (Olav_Kvern)

    What is = "constructor" in CS3 ?

    Seth McGraw Level 1
      Anyone know what the substitute for "constructor" is in CS3?

      example (from O'reilly Shortcuts Guide):

      if( app.selection[0].constructor.name == 'InsertionPoint' )
      app.selection[0].contents = 'Words, my lord, words.';

      The toolkit won't accept it. I know I'm blind. Any ideas?

      Thanks in advance,
      Seth