Re: Save as web archive
Re: Save as web archive
- Subject: Re: Save as web archive
- From: Lists <email@hidden>
- Date: Wed, 15 Jan 2014 09:13:01 -0800
On Jan 15, 2014, at 8:10 AM, Alex Zavatone < email@hidden> wrote: 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.
Pages (at least v4) has been that way for a long time. Nothing new for Apple apps.
tell application "Pages" launch set filname to (destn as string) & nuname & "rtf" open lvar save document 1 in filname close every window saving no end tell
Or
tell application "Pages" launch set filname to (destn as string) & nuname & "pdf" open lvar save document 1 in filname close every window saving no end tell
J |
_______________________________________________
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