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

Re: Web page download


  • Subject: Re: Web page download
  • From: JJ <email@hidden>
  • Date: Sat, 16 Nov 2002 17:45:50 +0200

> What's the best way to download a webpage (in its HTML format) and
> coerce it to a string? IE:
>
> set x to web page "www.apple.com" as string
>
> -Goldfish
> President and CEO, GoldfishSoft
> Developer, FrakKalk, AlgeKalk, Perlidex
> http://homepage.mac.com/goldfish1

tell app "URL Access Scripting" to download web_page to file_spec
set html_source to read (result)

look to UAS' dictionary (inside scripting additions folder)

root:system folder:scripting additions:

or

root/system/library/scriptingadditions/

;-)

JJ
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
_______________________________________________
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.

  • Prev by Date: Re: Shell Script on a string
  • Next by Date: Re: Scripting "Startup Disk" revisited
  • Previous by thread: Web page download
  • Next by thread: OK - so who ate my digests?
  • Index(es):
    • Date
    • Thread