Is the registry key: sMonDecimalSep Different from: sDecimal ? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thierry Arbellot Sent: Wednesday, March 16, 2005 11:37 AM To: How to use Revolution Subject: Re: How to test for a number
On 2005, Mar 16, , at 17:28, Klaus Major wrote: > Hi Jonathan, > >> Well, that brings up a possibility... >> >> Shouldn't there be a way to check for the system settings (perhaps in >> the registry) and adjust for that in the script? > > sounds good :-) > > Any hints on how to do this on win and a mac? > > > Regards > > Klaus Major > [EMAIL PROTECTED] > http://www.major-k.de > some hints to get the local decimal separator MacOS do "get item 2 of (1.1 as string)" as appleScript put the result into theDecimalSeparator replace quote with empty in theDecimalSeparator Windows 2000/XP put queryRegistry("HKEY_CURRENT_USER\Control Panel\International\sMonDecimalSep") into theDecimalSeparator Thierry _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
