Re: Finder Version Wrong in OS X
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 12:21:15 -0700
On Tuesday, April 9, 2002, at 11:17 AM, Paul Berkowitz wrote:
on GetSystemVersion()
set sysv to system attribute "sysv"
set {vers_major, temp1} to {(sysv div 384), (sysv mod 384)}
set {vers_minor, temp2} to {(temp1 div 256), (temp1 mod 256)}
set vers_update to (temp2 mod 16)
set system_version to "" & vers_major & "." & vers_minor & "." &
vers_update
end GetSystemVersion
GetSystemVersion()
Yes. One of these days I'll be able to afford to hire an
assistant with decent math chops.
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.