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

Re: Safari


  • Subject: Re: Safari
  • From: John Delacour <email@hidden>
  • Date: Sat, 30 Aug 2003 19:47:37 +0100
  • Mac-eudora-version: 6.1a1

At 8:48 am -0700 30/8/03, Van Brollini wrote:
I presently use Omniweb's geturl to access a page and then save the page as html. Is it possible to accomplish the same thing in Safari, since I am finding that Omniweb is horribly slow on some pages and I am never able to load them. Safari on the same pages, brings it up just fine.

You can do it like this or use curl in a shell script and dispense with browsers altogether.


tell app "Safari" to tell the front document
set AppleScript's text item delimiters to "/"
set _doc to last text item of (get its URL)
set AppleScript's text item delimiters to ""
set f to (path to desktop as Unicode text) & _doc
save in file f
end

JD


.
_______________________________________________
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: 
 >Safari (From: Van Brollini <email@hidden>)

  • Prev by Date: Re: Export QuickTime Movie's frames as sequence of images
  • Next by Date: Re: Scripting the Location
  • Previous by thread: Safari
  • Next by thread: How to get the name with which someone has mounted a fileserver volume ?
  • Index(es):
    • Date
    • Thread