Re: Stock Quotes using AppleScript
Re: Stock Quotes using AppleScript
OK, let me try to rephrase what I'm trying to understand : why does a
solution using an utility not available on all Macs by default is not
really 100% AppleScript ?
--
Jean-Baptiste LE STANG
On 13 mars 09, at 09:40, Simon Topliss wrote:
On 13 Mar 2009, at 00:30, email@hidden wrote:
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,
I think something was lost in translation. I was making the same
point as you more elaborately expanded on. It was Emmanuel who
claimed the his post was 100% AppleScript. I use whatever tools I
have at my disposal to get the job done; osax, shell, whatever.
My point about Script Debugger was purely a preference as a script
editor over Smile.
Stupid Simon.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
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