• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: saving displayed text on a web page as rtf
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >saving displayed text on a web page as rtf (From: 2551 <email@hidden>)
 >Re: saving displayed text on a web page as rtf (From: Kaydell Leavitt <email@hidden>)
 >Re: saving displayed text on a web page as rtf (From: 2551 <email@hidden>)
 >Re: saving displayed text on a web page as rtf (From: Simon Forster <email@hidden>)
 >Re: saving displayed text on a web page as rtf (From: 2551 <email@hidden>)
 >Re: saving displayed text on a web page as rtf (From: Luther Fuller <email@hidden>)
 >Re: saving displayed text on a web page as rtf (From: 2551 <email@hidden>)
 >Re: saving displayed text on a web page as rtf (From: Simon Forster <email@hidden>)

  • Prev by Date: Re: saving displayed text on a web page as rtf
  • Next by Date: Re: saving displayed text on a web page as rtf
  • Previous by thread: Re: saving displayed text on a web page as rtf
  • Next by thread: Re: saving displayed text on a web page as rtf
  • Index(es):
    • Date
    • Thread