getting the selected language

zryip theSlug zryip.theslug at gmail.com
Thu Jul 29 13:58:33 EDT 2010


On Thu, Jul 29, 2010 at 7:10 PM, jim sims <sims at ezpzapps.com> wrote:
>
> To get the selected language in OS X it seems that the following works well:
>
> put replaceText(shell("defaults read NSGlobalDomain AppleLanguages"),"(\s|\(|\))","") into theLanguagesList
>
>
> How does one get the same information on a Windows machine?

Jim,

On Windows, try:

put shell("systeminfo")

Somewhere in the return lines you will find the selected language.

However not working with all the Windows versions


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc



More information about the use-livecode mailing list