• 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: 10.4.9 versus 10.4.10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 10.4.9 versus 10.4.10


  • Subject: Re: 10.4.9 versus 10.4.10
  • From: Luther Fuller <email@hidden>
  • Date: Sat, 15 Mar 2008 17:49:48 -0500

Avoid 'sysv', BCD or HEX completely and use this ...

set dotV to (system version of (system info)) & ".0.0"
set AppleScript's text item delimiters to "."
set numV to (text item 1 of dotV) * 1000000 + (text item 2 of dotV) * 1000 + (text item 3 of dotV)


Since numV is a (decimal) integer, you can compare versions easily.
And everyone understands decimal.

_______________________________________________
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
  • Follow-Ups:
    • Re: 10.4.9 versus 10.4.10
      • From: KOENIG Yvan <email@hidden>
    • Re: 10.4.9 versus 10.4.10
      • From: KOENIG Yvan <email@hidden>
References: 
 >10.4.9 versus 10.4.10 (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Path to Document in Script Editor
  • Next by Date: Re: Path to Document in Script Editor
  • Previous by thread: Re: 10.4.9 versus 10.4.10
  • Next by thread: Re: 10.4.9 versus 10.4.10
  • Index(es):
    • Date
    • Thread