Re: Saving a document in Safari
Re: Saving a document in Safari
- Subject: Re: Saving a document in Safari
- From: Rick Bargerhuff alias cougar <email@hidden>
- Date: Mon, 10 Feb 2003 15:13:45 -0500
On Monday, Feb 10, 2003, at 04:16 US/Eastern, John Delacour wrote:
On Monday, February 10, 2003, at 01:30 AM, Rick Bargerhuff alias
cougar wrote:
tell application "Safari" to copy the source of the front document
to s
OK this works.. but only if I want to create a file based on the
source (HTML Source). This does not solve my problem for
a sound or movie file, etc.
So thanks, but I'm looking yo save the document, not to create a text
file from the HTML source.
You're not making yourself clear at all. My script does not create a
text file but does precisely what you seem to be asking for, namely
save the html source
Sorry, I thought I was clear. Ok, your script grabs the HTML source
from the current web document, then writes it to a file thus saving the
HTML source to a text file. This is great, but what I'm trying to do
is, save the document.
For example, if I have opened an image or a sound file in a new window,
clicking "Save As" from the file menu saves the image or sound file.
This is what I am trying
to do.
Rick
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.