RE: Info about javaScripting!!!
RE: Info about javaScripting!!!
- Subject: RE: Info about javaScripting!!!
- From: "Greg Meece" <email@hidden>
- Date: Mon, 23 Jul 2001 15:45:10 -0500
- Thread-topic: RE: Info about javaScripting!!!
You wrote:
>
Can i use java script to write any work which i can do using
>
applescript, like rebuilting desktop.
>
I am interested in this, because if this works then i can use
javascript
>
to work on my PC's as well as MAC's, as java is platform indepedant
>
language.
First of all, JavaScript and Java are quite different and are not to be
confused with one another. Yes, they both have "Java" in their names,
but Java is a full-blown OO language whereas JavaScript is an
interpreted scripting language. AFAIK, JavaScript is confined to
operating within a browser environment, and each browser supports
different subsets/supersets of the "official" standard. You can do some
nifty things with it, but you aren't going to get much OS interaction
with it.
With OS X, Java generally works as well as it does on other platforms
although with the "classic" Mac OS it's a bit buggy. If you're willing
to dive in and learn Java, it can be a rewarding (and interesting)
journey. Be prepared to do a lot of testing, however, as each platform
brings its own peculiarities and quirks.
Secondly, "rebuilting [sic] desktop" is a Mac-only function. To pursue
a cross-platform solution to this would be pointless. There are plenty
of non-specific tasks that might benefit from a cross-platform code
solution.
Finally, "MAC" stands for Media Access Control and it refers to the
physical interface to a machine such as an Ethernet NIC. "Mac" stands
for Macintosh, which is the computer/OS we all love. ;-)
Best regards,
Greg Meece
Senior Software Test Engineer
BroadJump
<
http://www.broadjump.com/>