2 Replies Latest reply on Jul 15, 2009 11:22 AM by MVarner

    Applescript  Conversion from Quarkxpress to Indesign

    MVarner

      I am new to applescript and I am working on a project to convert an applescript for Quark Xpress 6.0 to Indesign CS4..

       

      Here is the part of the code I am having trouble with now.  It works fine if the application is set to quark but fails if set to indesign.

       

      tell document 1 of application "QuarkXPress"

      activate

       

      --loop once for each page in the document

      repeat with a from 1 to count of spreads

       

      --set view options so we can see what is happening

      show spread a

      set view scale to fit spread in window

       

       

      The error message says "A application constant or consideration can't go after this property. and the bolded part of the above code is highlighted.

       

       

      Thanks

       

      Marshall