Re: can't get version
Re: can't get version
- Subject: Re: can't get version
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 17 Jun 2005 07:52:02 -0700
- Thread-topic: can't get version
On 6/17/05 6:30 AM, "has" <email@hidden> wrote:
> Robert Poland wrote:
>
>> What I'm looking for is a way to tell if the System is Tiger.
>
> (system attribute "sysv") >= 4160
That's the method that will work with all versions back to the wazoo. You
just have to know how to interpret it for specific versions you may be
looking for. (And of course has is giving the correct number for 10.4.0
there.)
But in Tiger there's a new easier method:
system version of (get system info)
--> "10.4.1"
You'll have to put it in a try block since it won't work in earlier
versions. So something like this will work OK until we get to Leopard:
try
system version of (get system info)
true
on error
false
end try
set Tiger to result
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden