3 Replies Latest reply on Jul 16, 2010 7:03 PM by Yuliaart

    Page index for selection   InDesign CS4 js

    Yuliaart Level 1

      Hi, I need to return page index of selected item and my code is not working:


      myPage = myDoc.selection[0].page.index();


      Couldn't find to what Page object belongs.


      Thank you for your help.