Re: Getting the default language with AppleScript
Re: Getting the default language with AppleScript
- Subject: Re: Getting the default language with AppleScript
- From: Emmanuel <email@hidden>
- Date: Wed, 7 Jul 2004 19:02:28 +0200
At 9:13 AM -0700 07/07/04, Paul Berkowitz wrote:
>
if (system attribute "sysv") < 4144 then
>
find text "^[^_]+" in (system attribute "LANG") with regexp and string
>
result
>
else
>
find text "^[^_]+" in (do shell script "defaults read -g AppleLocale")
>
with regexp and string result
>
end if
ouch! thanks for the full script!
Emmanuel
_______________________________________________
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.