Re: Save as web archive if text found
Re: Save as web archive if text found
- Subject: Re: Save as web archive if text found
- From: Emmanuel LEVY <email@hidden>
- Date: Wed, 13 Nov 2013 12:57:40 +0100
For a truly scripted solution, use Smile's "readtext" command: readtext reads files as well as URLs.
Example:
(readtext "http://www.satimage.fr/software/en/support/sul.html";) contains "Smile Users List"
-- true
Best!
Emmanuel
On Nov 13, 2013, at 3:35 AM, Shane Stanley wrote:
> On 13 Nov 2013, at 11:21 AM, Bryan Harris <email@hidden> wrote:
>
>> Can I choose to save as web archive only if a search string is found within the web page?
>
> Sure -- just get the source of the document from Safari, and search it yourself. If you don't find the string, go no further.
>
>> I would perhaps like to save hundreds at a time
>
> Good luck with a GUI script for that -- I wouldn't hold my breath.
>
> If you're on Mavericks, you can bypass Safari altogether.
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>
>
>
> _______________________________________________
> 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