On Nov 8, 2011, at 1:28 PM, René Micout wrote:
> Thanks Warren,
> I simplify my script :
>
> get shell ("defaults read NSGlobalDomain")
> get line lineOffset("AppleLocale",it) of it
> put false into vxFrançais ; if "fr" is in it then put true into vxFrançais
Even easier:
put shell("defaults read NSGlobalDomain AppleLocale") into tLanguage
:D
Ken Ray
Sons of Thunder Software, Inc.
Email: [email protected]
Web Site: http://www.sonsothunder.com/
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode