Re: Stock Quotes using AppleScript
Re: Stock Quotes using AppleScript
On 12 mars 09, at 18:29, Simon Topliss wrote:
On 12 Mar 2009, at 15:00, Emmanuel Levy wrote:
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
"
Well, not wanting to split hairs, but that's using utility that's
not available on all Macs by default, so it's not really 100%
AppleScript.
I'm not the kind of guy who complains but I'm sick and tired of this
kind of comments and I'm sorry but what you said is simply stupid or
naive (or both, feel free to choose the correct answer). As a software
developper who wrote a couple of scripting additions I really feel
offended when I hear that my work is not 100% AppleScript. Would you
say that all those C/Perl/Ruby/Python libraries that are not shipped
with OS X (or any Linux Distro) are not 100% C/Perl/Ruby/Python?
They are a number of factors that I take into account when I'm
developing : development & maintenance time, re-usability and all
those factors can be greatly reduced by using third part
applications / scripting additions. Do you prefer, a 100 lines scripts
that would be 'pure' applescript or a 10 lines scripts that does
exaclty the same but use an external component? I do understand that
some of you do not want to use osax/third part applications in their
scripts, but nethertheless they are part of the AppleScript world. I'm
really happy that folks @ Satimage are offering us such great tools as
XMLLib.osax, Satimage.osax and Smile and I'm happy to say that most of
my scripting relies on third part applications / osax .
BTW :
- be carefull, Script Debugger is not shipped with the OS, you might
not be doing 100% pure AppleScript scripting ...
- why don't you use URL Access Scripting instead of curl ?
--
Jean-Baptiste LE STANG (who is really happy to write one liner script
using third part application and scripting additions...)
_______________________________________________
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