Extracting text from PDF

J. Landman Gay jacque at hyperactivesw.com
Sat Feb 23 18:43:57 EST 2008


Richard Gaskin wrote:
> Kay C Lan wrote:
>> use the launch command to force a pdf to open with TextEdit
>>
>> use do to run this AppleScript:
>>
>> tell application "TextEdit"
>>     set tText to the text of document 1
>> end tell
> 
> Maybe this is another Leopard thang, I dunno, I haven't set up my test 
> stack for this yet, but in Tiger I can't get Text Edit to open a PDF in 
> any meaningful way; that is, it just shows the raw PDF data but doesn't 
> render it.
> 
> So my question is whether TextEdit renders PDFs normally in Leopard, or 
> if the behavior is the same as under Tiger then how does the "launch" 
> command differ from dropping a file on the app's Dock icon?

Do you have the PDF2RTF service installed? It's required. It's working 
for me in Tiger.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list