1 Reply Latest reply on Nov 18, 2009 3:52 AM by Emanuele Radaelli

    [CS3 - JScript - Mac] - Creating a Text-Variable

    Emanuele Radaelli Level 1

      Hello.

      This operation is quite simple I know, but I never used object properties...

      I need to create a Text-Variable and to assign it a value.

       

      document.textVariables.add();

       

      As the object model visualizer said this method accept just one parameter:

      TextVariable.add(withProperties:Object):TextVariable

       

      So the question is: how can I define properties (name, value, etc...) in order to create an object?

      I never used this method...

       

      Thanks anticipatelly.

       

      Lele