• 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: International version
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: International version


  • Subject: Re: International version
  • From: Paul Skinner <email@hidden>
  • Date: Thu, 20 Sep 2001 10:10:46 -0400

on 9/20/01 6:23 AM, email@hidden wrote:

> I need to determine what language is currently being ran on a machine
> tell application "Finder"
> set findVer to version of application "Finder"
> set result1 to offset of "-" in (reverse of characters of findVer) as
> string
> set whatever to (text from beginning to -(result1 + 1) of findVer)
> set result2 to offset of "1" in (reverse of characters of whatever) as
> string
> set LangBadge to (text from beginning to -(result2 + 1) of whatever)
> (*If is International System then is Z, if Spanish is ,if German is D
> , if French is FU , is Japanese J US is US *)
>
> end tell
> this is fine on classic , but I need to do the same on OS X.
>
> There seems to be very little documentation regarding the system attribute
> command - and I have tried the obvious
> - anything volunteered?
> Peter James - Sophos Plc


This returns "9.1." on my system. There is no "-" in my version info.

"PowerBook G3 Series / 400 MHz / 9.1 US / CarbonLib 1.3.1"
--
Paul Skinner

"space is a myth perpetrated by the makers of time"


  • Follow-Ups:
    • Re: International version
      • From: Irwin Poche <email@hidden>
References: 
 >International version (From: email@hidden)

  • Prev by Date: Re: Droplet for CD
  • Next by Date: Re: Droplet for CD
  • Previous by thread: International version
  • Next by thread: Re: International version
  • Index(es):
    • Date
    • Thread