Re: Multi-Versions
Re: Multi-Versions
- Subject: Re: Multi-Versions
- From: John W Baxter <email@hidden>
- Date: Fri, 14 Dec 2001 11:34:35 -0800
At 7:19 -0500 12/14/2001, Jack Rarick wrote:
>
Am I correct to assume that each version of Applescript has with it a
>
different set of Standard Additions? And if so, and specifically in the
>
case of:
>
>
read from file anyFile until eof (pre 1.6)
>
and
>
read from file anyfile from 0 to (get eof of file anyfile) (1.6)
>
>
is it appropriate to test for the version number and then use the write
>
coding?
>
or ... am I missing something here?
It is dangerous to make the assumption, because people seem to like to
"fix" things by installing non-matching Standard Additions with a given
AppleScript version, and non-matching AppleScript versions with a given Mac
OS version, and disable pieces of the system (like the security extensions)
etc etc. (People are reverting Standard Additions at the moment to get
around the change in file opening, for instance.)
I am not distributing scripts these days. I *think* my attitude would be
something like "if you change what Apple ships, my scripts may not work and
I'm not going to make an effort to deal with it." It's hard enough to keep
up with Apple, much less user "improvements." But you may well feel
otherwise.
--John