International version
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