Re: Please Test » Safari Save Problem
Re: Please Test » Safari Save Problem
- Subject: Re: Please Test » Safari Save Problem
- From: KOENIG Yvan <email@hidden>
- Date: Thu, 08 Mar 2012 12:43:22 +0100
Le 7 mars 2012 à 11:17, Christopher Stone a écrit :
Hey Folks,
Mac OS: 10.7.3 Safari: 5.1.3
Would someone confirm this one for me?
tell application "Safari" activate tell front document save end tell end tell
Whenever I run the above the Save dialog shows up, BUT the file name ends with '.css' even though 'WebArchive' is the designated file-type.
If you tell it to go ahead and save it complains and says it can't save as that file.
Thank you.
Hello Same behavior here but there is worse. In the dialog I edited the extension name replacing .css by .webarchive and got the same error message.
I tried to create the file before calling save :
set p2d to (path to desktop) as text tell application "Finder" make new file in folder p2d with properties {name:"maybe.webarchive"} end tell
set thePath to p2d & "maybe.webarchive" as alias tell application "Safari" activate tell front document save in thePath end tell end tell
The result was the same.
Heavy smell of bug.
Yvan KOENIG (VALLAURIS, France) jeudi 8 mars 2012 12:43:17
|
_______________________________________________
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