Re: sysv and OS X 10.4.10 and .11
Re: sysv and OS X 10.4.10 and .11
- Subject: Re: sysv and OS X 10.4.10 and .11
- From: Philip Aker <email@hidden>
- Date: Fri, 21 Dec 2007 00:56:46 -0800
On 2007-12-20, at 22:25:04, Donald Hall wrote:
What I want to do is some like this:
if system version is pre Leopard then launch this program else launch that program end if
Comparing strings will work fine:
Yes.
set cv to (do shell script "sw_vers -productVersion | cut -d '.' -f 1-2 | tr -d .") as number if (cv is less than 105) then beep end if
|
_______________________________________________
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