Re: Anyone tried text searching in Acrobat?
Re: Anyone tried text searching in Acrobat?
- Subject: Re: Anyone tried text searching in Acrobat?
- From: Guy Parker <email@hidden>
- Date: Mon, 23 Apr 2001 22:01:40 +0100
Thanks to those that helped with this (especially Arthur)! In case anyone
else needs to do something similar I found that Arthur's code wouldn't work
on my system (OS 9.1/AS 1.6/Acrobat 4.0) and gave the same errors BUT as
soon as I upgraded to Acrobat 5.0 everything started to work just fine. I
guess there may be an incompatibility there somewhere since nothing else
changed.
Thanks again!
>
I'm trying to use a function of Acrobat 4's scripting capability that allows
>
tell application "Acrobat 4.0"
>
open alias "Macintosh HD:Desktop Folder:Form.pdf"
>
find text string "UK"
>
end tell
>
However, I get the following error when the "find text string" command
>
executes but only when I try to search for more than just one character
>
(i.e. find text string "U" works!).
>
>
--> Acrobat 4.0 got an error: ng not found.