Copy link to clipboard
Copied
I have a script that uses the methods:
this.getPageNthWord and this.getPageNumWords, I have it search the whole page for a zip code and then hold that value, is it possible to define a smaller area than the whole page for the script to search?
Copy link to clipboard
Copied
It's possible to do it using the getPageNthWordQuads, but it's not a simple
task and it will probably just involve more calculations than what you
already have, as you'll need to look at the coordinates of each word and
compare them to your desired search area, before looking at its contents...
On Tue, Nov 15, 2016 at 7:45 AM, heresha93876846 <forums_noreply@adobe.com>
Copy link to clipboard
Copied
Yes, this can be done by cropping down your page to your target area. The problem is reversing the crop after you are done - it's not as straight forward as one would wish. Take a look here for information about how to do that:
Copy link to clipboard
Copied
Thank you Karl and try. I will look into your suggestions.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now