• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Filemaker QT scripts and quicktime
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Filemaker QT scripts and quicktime (From: Jim Weisbin <email@hidden>)

  • Prev by Date: Re: AppleScript-Users Digest, Vol 6, Issue 467
  • Next by Date: Re: JustWonedering
  • Previous by thread: Filemaker QT scripts and quicktime
  • Next by thread: Re: AppleScript-Users Digest, Vol 6, Issue 467
  • Index(es):
    • Date
    • Thread