MAC OS X Lion, shell and language

Warren Samples warren at warrensweb.us
Tue Nov 8 14:21:38 EST 2011


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.




More information about the use-livecode mailing list