In article <michelle-F70DE5.10102514032007.DeleteThis@news.east.cox.net>, Michelle
Steiner <michelle.DeleteThis@michelle.org> wrote:
> In article <140320070546260541%zim@archon.net>,
> Invader Zim <zim.DeleteThis@archon.net> wrote:
>
> > Anyone got any ideas why I would only get the value 1.1 for Tiger?
>
> Because the script is broken; it considers only the first three
> characters of the string, which is "1.1"; the actual version is "1.10.7".
>
> Remove this line completely:
>
> set ASversion to (characters 1 thru 3 of ASversion as string) as real
>
> Change this line:
>
> if ASversion is greater than or equal to 1.4 then
>
> to this:
>
> if ASversion is greater than or equal to "1.4" then
Thanks for both responses. You are right. I made the changes suggested
above and when I run it in the Script Editor, it returns the value
1.10.6, which is also the value I see if I select "About AppleScript
Editor" while running AppleScript Editor. I suppose the shareware
program I was trying to run must have made a similar mistake since it
would run ok under my Jaguar OS which has AppleScript 1.9.1.
Thanks again for your help.
--
Invader Zim
>> Stay informed about: Applescript version problem - newbie