Thousands Separator on OSX

Flavel Steve stevef at upnaway.com
Sat Mar 11 06:08:54 EST 2006


Hi Klaus

This is what I get from pasting your code

2006-03-11 19:06:46.564 defaults[604]
The domain/default pair of (kCFPreferencesAnyApplication,  
NSThousandsSeparator) does not exist

What system are you using?

Steve



On 11/03/2006, at 6:57 PM, Klaus Major wrote:

> Hi Flavel,
>
>> My brain is hurting try to get the current thousands separator on  
>> a Mac OS.
>>
>> I have tried
>>  put replaceText(shell("defaults read NSGlobalDomain  
>> NSThousandsSeparator"),"(\s|\(|\))","") into gThousandsSeparator
>> but nothing.
>>
>> OS X 10.4.5
>> Any help much appreciated.
>
> If you just want to get that thing:
> put shell("defaults read NSGlobalDomain NSThousandsSeparator") into  
> gThousandsSeparator
>
> Works here, i get a dot "." (german system)
>
> But your line above also works here!!!?
> OS X 10.4.5.
>
>> Steve  Flavel
>
> Regards
>
> Klaus Major
> klaus at major-k.de
> http://www.major-k.de
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list