On 11/08/2011 01:17 PM, René Micout wrote:
YES !
But why
put "defaults read NSGlobalDomain" into vxLangage
get shell (vxLangage)
works ?
I don't write put quote& "defaults read NSGlobalDomain"& quote into vxLangage
...
Le 8 nov. 2011 à 19:39, René Micout a écrit :
Thanks to Pete, Warren and Ben !!
My new script after all their informations :
put "defaults read NSGlobalDomain" into vxLangage
get shell (vxLangage)
get line lineOffset("AppleLocale",it) of it
put false into vxFrançais ; if "fr" is in it then put true into vxFrançais
get shell (defaults read NSGlobalDomain) don't work... !!?
_______________________________________________
vxLangauage is a variable not a string.
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode