8 Replies Latest reply on Nov 3, 2012 3:58 AM by DavidPead

    ImprovedHelloWorld.jsx

    DavidPead

      Hi, first post

       

      If anyone cuts and pastes from the Indesign Scripting Tutorial PDF the above then you'll run into a problem.

       

      The call to myGetBounds on line 10 has the parameters the wrong way round!

       

      Should be:

      myGetBounds(myDocument,myPage)

      NOT

      myGetBounds(myPage, myDocument)

       

       

       

      Not an issue if you use the downloaded scripts (which are somewhat different! No uses of 'with' statement, wonder why?)

       

      Carry on,

      Dave