• 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: Finder Version Wrong in OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Version Wrong in OS X


  • Subject: Re: Finder Version Wrong in OS X
  • From: Philip Aker <email@hidden>
  • Date: Tue, 09 Apr 2002 03:26:07 -0700

On Monday, April 8, 2002, at 06:15 PM, Jason Bourque wrote:

tell application "Finder"
version
end tell

Returns 10.1.2 when it should be 10.1.3

Any ideas?

===
on GetSystemVersion()
set sysv to system attribute "sysv"
set temp to (sysv mod 4096)
set vers_major to ((sysv - temp - 256) div 384) as string
set vers_minor to (temp div 16) as string
set vers_update to (temp mod 16) as string
set system_version to vers_major & "." & vers_minor & "." & vers_update
end GetSystemVersion

GetSystemVersion()
===

Be a lot easier if I knew how to use AppleScript's bit shifting operators. ;-/


Philip Aker
http://www.aker.ca
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Finder Version Wrong in OS X
      • From: Paul Berkowitz <email@hidden>
    • Re: Finder Version Wrong in OS X
      • From: Paul Berkowitz <email@hidden>
References: 
 >Finder Version Wrong in OS X (From: Jason Bourque <email@hidden>)

  • Prev by Date: Quark text box Inset
  • Next by Date: Re: Finder Version Wrong in OS X
  • Previous by thread: Re: String replacement
  • Next by thread: Re: Finder Version Wrong in OS X
  • Index(es):
    • Date
    • Thread