2 Replies Latest reply on Dec 10, 2009 7:36 AM by Loic.Aigon

    can't figure out the pagenumber


      Hi everybody,


      would be very nice, if someone could tell me how to get the pagenumber form a page with a table on it. got the table id and the corresponding frame id but can't figure out the pagenumber. any ideas?


      app.activeDocument.textFrames.itemByID(myFrameId).parent returns [object Character] but not [object Page].

      app.activeDocument.textFrames.itemByID(myFrameId).parent.parent returns [object Story], so how to get the page object?


      thx in advance