These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Capturing the page number using java script

Arulselvann
Registered: May 21 2007
Posts: 4

I have a book in pdf format.I want to capture only the pagenumber of all Pdf by using java script.how to create a tool using java script it is possible

My Product Information:
Acrobat Pro 7.0.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Look in the Acrobat JavaScript Reference. Everything you need is in there. For example "this.pageNum" will give you the current page number of the current PDF. There are also other ways to capture page numbers.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script