0 Replies Latest reply on Feb 9, 2011 11:10 PM by FarzanaArethwala

    Creating Paragraph Style through Script on InDesign CS5 Server

    FarzanaArethwala Level 1

      Hello All,

       

      I am trying to Create a paragraph style in the document through InDesign CS5 Server and set the Composer property. This use to work fine under InDesign CS4 Server. But in CS5 it gives Object invalid error on .add property or .itembyname property.

       

      Following is the command I am using in the Script

      var myParagraphStyle = mydoc.paragraphStyles.item("MyStyle");

       

      This same command works fine in the Desktop application of InDesign CS5. Is this not supported in CS5 Server any more?

       

      Can someone please help here.

       

      Thanks all in advance.

       

      Regards

      Farzana.