• 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: Saving a document in Safari
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Saving a document in Safari
      • From: Philip Aker <email@hidden>
    • Re: Saving a document in Safari
      • From: John Delacour <email@hidden>
References: 
 >Re: Saving a document in Safari (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Getting FMP to print to .ps via AppleScript
  • Next by Date: Re: Path to me broken?
  • Previous by thread: Re: Saving a document in Safari
  • Next by thread: Re: Saving a document in Safari
  • Index(es):
    • Date
    • Thread