• 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: Save as web archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Save as web archive


  • Subject: Re: Save as web archive
  • From: "koenig.yvan" <email@hidden>
  • Date: Wed, 15 Jan 2014 17:00:01 +0100

set p2d to path to desktop as text

tell application "Safari"
name of document 1
save document 1 in (p2d & result & ".webarchive")
end tell

does the job

It's just a draft.

It may be useful to normalize the name by removing the possible slashes and/or colons embedded.

Yvan KOENIG (VALLAURIS, France) mercredi 15 janvier 2014 16:59:56


 _______________________________________________
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

  • Follow-Ups:
    • Re: Save as web archive
      • From: Bryan Harris <email@hidden>
    • Re: Save as web archive
      • From: Alex Zavatone <email@hidden>
References: 
 >Save as web archive (From: Bryan Harris <email@hidden>)
 >Re: Save as web archive (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: Save as web archive
  • Next by Date: Re: Save as web archive
  • Previous by thread: Re: Save as web archive
  • Next by thread: Re: Save as web archive
  • Index(es):
    • Date
    • Thread