Hi,
Could any one help me how to extract the highlighted text from pdf file.
Thanks,
Gopal
Hi,
Could any one help me how to extract the highlighted text from pdf file.
Thanks,
Gopal
Hi krish
Came up with this, I am sure their must be a better way to do this, any way hope this helps.
--presuming your text is already highlighted
tell application "System Events"
tell application "Adobe Acrobat Professional" to activate
set the clipboard to ""
delay 0.5
keystroke "c" using {command down}
display dialog (the clipboard)
end tell
Budgie
Just something else to try.
tell application "Adobe Acrobat Professional" to activate
tell application "System Events" to tell process "Adobe Acrobat Professional"
keystroke "c" using {command down}
tell application "TextEdit" to activate
tell process "TextEdit"
keystroke "v" using {command down}
end tell
end tell
Tom
Operating System: Mac OS X (10.5)