find text in Acrobat
find text in Acrobat
- Subject: find text in Acrobat
- From: RJay Hansen <email@hidden>
- Date: Tue, 05 May 2015 13:50:15 -0500
Does anyone know if "find text" in Acrobat Pro works? Google doesn't yield much on this (or I haven't figured out the right search terms to use), but it seems pretty straightforward. From the Acrobat dictionary:
find text v : Find text in a document. find text [specifier] : The document to search. string text : The string to search for. [Case sensitive boolean] : Whether searching is case sensitive. [whole words boolean] : Whether to search for a whole word match. [wrap around boolean] : Whether searches should wrap-around to continue from beginning of document if not found by end of document (default is no). → text : The found word.
After having the user choose the document to search and enter the search string I'm doing this:
tell application "Adobe Acrobat Pro" activate find text document 1 string theRecord with whole words end tell
Curiously, the first time I run it, it brings up Acrobat's Advanced Search window and wants you to enter your search terms in it. Any subsequent runs leave Acrobat just sitting there. Doesn't even bring up the Advanced Search unless you quit Acrobat first. Am I missing something?
Thanks, RJay |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden