Simple find text in Acrobat
Simple find text in Acrobat
- Subject: Simple find text in Acrobat
- From: "Don Feldman" <email@hidden>
- Date: Wed, 03 Mar 2010 10:41:34 -0500
- Importance: normal
- Priority: normal
- Thread-topic: Simple find text in Acrobat
Title: Simple find text in Acrobat
I’d like to use Applescript to find some text in a few Adobe Acrobat files opened in Acrobat 9 and tell me what page that text is on. I tried the following simple code but it didn’t work. If I can’t find the text, I can’t determine what page it is on. If anyone knows how to find the text by typesize, that would help too.
tell application "Adobe Acrobat Pro"
tell document 1
set PageCount to count of pages
set FindText to "Leona"
--find text string --
set testFind to find text string FindText
end tell
end tell
I did find the text by putting in a line of _javascript_, but I’d like to know how to do this just using Applescript.
Thanks
The information contained in this message is intended only for the recipient, and may be a confidential attorney-client communication or may otherwise be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, please be aware that any dissemination or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by replying to the message and deleting it from your computer. The McGraw-Hill Companies, Inc. reserves the right, subject to applicable local law, to monitor and review the content of any electronic message or information sent to or from McGraw-Hill employee e-mail addresses without informing the sender or recipient of the message.
_______________________________________________
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