Re: Getting the default language with AppleScript
Re: Getting the default language with AppleScript
- Subject: Re: Getting the default language with AppleScript
- From: Peter Fischer <email@hidden>
- Date: Tue, 6 Jul 2004 18:49:23 +0200
Hi Alex,
I was just wondering if anyone knows how to get the user's default
language using AppleScript. I was reading through the AppleScript
documentation on developer.apple.com but it seems to be a bit lacking.
The single line:
set theLang to (do shell script "defaults read com.apple.dock.loc")
should give you a result like "en_US", "fr_FR" or "de_DE" and so on...
So it returns the language designation of the default language.
--
Peter Fischer aka Snow
Fischer-Bayern
"The source for german AppleScripters"
http://www.fischer-bayern.de
RSS-Feeds:
Pinnwand:
http://fischer-bayern.de/applescript/rss/rss.xml
Forum:
http://fischer-bayern.de/phpBB2/rdf.php
_______________________________________________
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.