Re: saving displayed text on a web page as rtf
Re: saving displayed text on a web page as rtf
- Subject: Re: saving displayed text on a web page as rtf
- From: Emmanuel LEVY <email@hidden>
- Date: Thu, 04 Jul 2013 19:51:21 +0200
For those interested, here is a script for Smile which saves a web page into a searchable PDF.
set www to make new web window
set path name of www to "http://apple.com"
save www in "~/Desktop/apple-home-page.pdf"
IRL, there would be a waiting loop (until ready) like has been advised for Safari - just use Smile's "callJavaScript" command instead of Safari's "do Javascript".
Emmanuel
On Jul 4, 2013, at 7:02 PM, Simon Forster wrote:
>
> On 4 Jul 2013, at 17:45, 2551 <email@hidden> wrote:
>
>> On 4 Jul 2013, at 23:17, Luther Fuller <email@hidden> wrote:
>>
>>> (I just checked) its text is searchable
>>
>> Something I didn’t do. Oops. And searchable even in Spotlight, too.
>>
>> I was making headway with Yvan’s script, but still having problems getting TextEdit to exit the stage gracefully.
>>
>> I think I’ll run with this PDF idea and see where it leads...I was thinking of using the ‘Export to PDF...’ menu option rather than the ‘Save As’. Fewer GUI clicks.
>>
>> Simon, any reason to prefer the ‘Save As...’ route?
>
> Not too sure what you're referring to here. Where does the ‘Export to PDF...’ menu option lie in Safari?
> _______________________________________________
> 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
_______________________________________________
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