• 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: Stock Quotes using AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Stock Quotes using AppleScript
      • From: Simon Topliss <email@hidden>
References: 
 >Re: Stock Quotes using AppleScript (From: Oakley Masten <email@hidden>)

  • Prev by Date: Re: Stock Quotes using AppleScript
  • Next by Date: Automator SQL Examples
  • Previous by thread: Re: Stock Quotes using AppleScript
  • Next by thread: Re: Stock Quotes using AppleScript
  • Index(es):
    • Date
    • Thread