Re: Finder Version Wrong in OS X
Re: Finder Version Wrong in OS X
- Subject: Re: Finder Version Wrong in OS X
- From: Phillip Burk <email@hidden>
- Date: Tue, 09 Apr 2002 12:29:47 -0500
On 4/9/02 12:09 PM, "Phil Dobbin" <email@hidden> wrote:
>
On Tue, 09 Apr 2002 03:26:07 -0700, Philip Aker <email@hidden> wrote:
>
>
> ===
>
> 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()
>
> ===
>
>
Way cool :-)
>
>
Any chance of a line by line commenting so I can grok it (off-list if you
>
prefer)?
NO NO NO! There are idiots on this list such as I that need that commenting
too!
Phil Burk
_____________________________________________________________
Intermediate Systems Support Technician
Hungry Minds, Inc.
317.572.3049
[Now jamming: "The Only One I Know" by Charlatans UK]
_______________________________________________
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.