• 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: Alex Zavatone <email@hidden>
  • Date: Wed, 15 Jan 2014 11:10:19 -0500


On Jan 15, 2014, at 11:00 AM, koenig.yvan wrote:

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

If this works, that's odd and sorta scary that just specifying the file name determines the type of file you are saving as.


 _______________________________________________
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: Lists <email@hidden>
    • Re: Save as web archive
      • From: "koenig.yvan" <email@hidden>
References: 
 >Save as web archive (From: Bryan Harris <email@hidden>)
 >Re: Save as web archive (From: Alex Zavatone <email@hidden>)
 >Re: Save as web archive (From: "koenig.yvan" <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