Re: Stock Quotes using AppleScript
Re: Stock Quotes using AppleScript
- Subject: Re: Stock Quotes using AppleScript
- From: Emmanuel Levy <email@hidden>
- Date: Thu, 12 Mar 2009 16:00:41 +0100
Title: Re: Stock Quotes using
AppleScript
At 7:40 AM -0700 3/12/09, Oakley Masten wrote:
Simon Topliss <email@hidden>
wrote
Oakley,
This should get you started It returns the stock quotes for Apple
and
Microsoft
set r to paragraphs of (do shell script
"curl " & quoted form of "http://download.finance.yahoo.com/d/quotes.csv?s=AAPL,MSFT&f=snl1d1t1cmv
")
For more info on the parameters see
http://www.gummy-stuff.org/Yahoo-data.htm
HTH,
Simon
Thanks Simon this
appears to work well and I can use it to do what I needed to
do.
[Well, it looks like
I need to get better acquainted with shell
scripting]
That, or with Smile, since in Smile you can do (100% AppleScript):
readtext
"http://download.finance.yahoo.com/d/quotes.csv?s=AAPL,MSFT&f=snl1d1t1cmv"
Emmanuel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden