Re: Finder Version Wrong in OS X
Re: Finder Version Wrong in OS X
- Subject: Re: Finder Version Wrong in OS X
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 08 Apr 2002 19:21:41 -0700
On 4/8/02 7:02 PM, "Rob Jorgensen" <email@hidden> wrote:
>
On 4/8/02, Jason Bourque commented:
>
>
> Well then what do I ask for to get the OS version?
>
>
Would something like this work?
>
>
set osVersion to short version of (info for ((path to system folder
>
as text) & "System" as alias))
>
>
I don't have OS X to test with but it appears to work on OS 9.1,
>
assuming that the System file is an accurate indicator. <shrug>
No, it doesn't work for OS X. There's no "System" file in the System folder.
except here:
set theSystem to path to system folder as string
get short version of (info for alias (theSystem &
"Library:CoreServices:System"))
And that's some suitcase whose version is 10.0! Using ASP is the way to go,
as someone said.
--
Paul Berkowitz
_______________________________________________
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.