Re: Safari
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>) |