• 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: How to read web-based HTML data into a variable without a browser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to read web-based HTML data into a variable without a browser


  • Subject: Re: How to read web-based HTML data into a variable without a browser
  • From: JJ <email@hidden>
  • Date: Sat, 20 Apr 2002 02:23:26 +0200

> Can anyone tell me how I can read the html text from a web-site into an
> Applescript variable without using or launching a web-browser?
>
> I've been looking through the Standard Scription Additions.osax dictionary,
> and it looks like it _might_ be possible with one of the commands from the
> "Internet suite" section, however I'm unsure of the syntax. "Open location"
> isn't what I'm after, because that launches a web-browser, so would URL,
> Internet address, or web-page be of use?
>
> I'd like to pull in the text data from http://homepage.mac.com/gouldtv/xml.htm

Look at "URL Access Scripting" dictionary.

The syntax would be anything such as:

tell app UAS
download the_url to file_spec
set YOUR_WHIS to read (the result)
end tell

JJ
_______________________________________________
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: Do shell script and spaces in path
  • Next by Date: Re: Browser and PopUpButton
  • Previous by thread: Re: How to read web-based HTML data into a variable without a browser
  • Next by thread: Re: How to read web-based HTML data into a variable without a browser
  • Index(es):
    • Date
    • Thread