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

OCR specific page

hrm
Registered: Apr 21 2009
Posts: 6
Answered

Hi all,

I am trying to OCR just a specific page inside a PDF using javascript. Have been searching for a while. Any help will be appreciated.

Thanks

try67
Expert
Registered: Oct 30 2008
Posts: 2399
JavaScript doesn't have any OCR capabilities. The closest you can get is to use it to launch the built-in menu item for OCR, but you can't influence it beyond that.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

hrm
Registered: Apr 21 2009
Posts: 6
Thanks a million, I tried using
app.execMenuItem("Cpt:CapturePages");
from Acrobat 8. Allows to OCR specific page. I think that is as far as I can go with automation.