Re: Getting the default language with AppleScript
Re: Getting the default language with AppleScript
- Subject: Re: Getting the default language with AppleScript
- From: LuKreme <email@hidden>
- Date: Sat, 24 Jul 2004 13:34:10 -0600
On 23 Jul 2004, at 21:10, Paul Berkowitz wrote:
>
But now I've discovered that a friend, also in OS 10.3.4 like I am,
>
has no
>
global AppleLocale default entry at all, and that command errors:
This means he's never explicitly set a language order in the
International Prefpane.
try
set TheLang to do shell script "defaults read -g AppleLocale"
on error
set TheLang to "en"
end
or thereabouts.
>
--
"I do not feel obliged to believe that same God who endowed us with
sense, reason, and intellect had intended for us to forego their use."
-Galileo
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.