• 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: 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.

  • Follow-Ups:
    • String replacement
      • From: Matthew Stuckwisch <email@hidden>
References: 
 >Re: Finder Version Wrong in OS X (From: Rob Jorgensen <email@hidden>)

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