• 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: Michelle Steiner <email@hidden>
  • Date: Mon, 10 Feb 2003 15:37:52 -0700

On Monday, February 10, 2003, at 02:50 PM, John Delacour wrote:

set f to "" & (path to desktop)
tell app "Safari" to set vURL to the URL of the front document
set AppleScript's text item delimiters to "/"
set f to f & vURL's last text item
set AppleScript's text item delimiters to ""
tell app "URL Access Scripting" to download vURL to file f

"URL Access Scripting got an error: An error of type -1 has occurred."

--
"There's some good in the world, Mr. Frodo, and it's worth fighting for."
_______________________________________________
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.
References: 
 >Re: Saving a document in Safari (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Gradient color info in Illustrator
  • Next by Date: Remote Access and Network Setup Scripting problems under OS 9.1 (and 9.2.1)
  • Previous by thread: Re: Saving a document in Safari
  • Next by thread: Re: Saving a document in Safari
  • Index(es):
    • Date
    • Thread