Re: Filemaker QT scripts and quicktime
Re: Filemaker QT scripts and quicktime
- Subject: Re: Filemaker QT scripts and quicktime
- From: Luther Fuller <email@hidden>
- Date: Fri, 18 Sep 2009 07:40:49 -0500
On Sep 18, 2009, at 5:53 AM, Jim Weisbin wrote: The problem with that is that it only works on 10.5 or later, but I still have some clients on 10.4. Therefore I need to check the operating system version number. I don't think there's a way to do that in FM. How do I do it in Applescript?
Here's what I use ...
set AppleScript's text item delimiters to {"."} (text items of (system version of (system info)) & {"0", "0", "0"}) 1000000 * (item 1 of the result) + 1000 * (item 2 of the result) + (item 3 of the result) if the result < 10005000 then error "This application requires Mac OS 10.5 or later." 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