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

International version


  • Subject: International version
  • From: email@hidden
  • Date: Thu, 20 Sep 2001 11:23:51 +0100

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
System Developer




Peter James System Developer Sophos Anti-Virus
email: email@hidden http://www.sophos.com
US support: +1 888 SOPHOS 9 UK Support: +44 1235
559933
DDI +44 1235 544159


  • Follow-Ups:
    • Re: International version
      • From: Paul Skinner <email@hidden>
  • Prev by Date: Re: OSA weirdness? (was: Is beep a backdoor?)
  • Next by Date: RE: Convert any list to a table?
  • Previous by thread: Re: OSA weirdness? (was: Is beep a backdoor?)
  • Next by thread: Re: International version
  • Index(es):
    • Date
    • Thread