harryh Posted February 4, 2007 Share Posted February 4, 2007 Hi, I like to adapt my script for use in all countries. In order to do so, I need to know Currency Symbol, Decimal Separator and Thousands Separator. in accordance with Windows Control Panel settings: The following code works fine with WindowsXP but not with Windows98SE. ;Check the Decimal, Thousands separator and Currency Symbol in accordance with Regional Settings $IntDecSep = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sDecimal") $Int1000Sep = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sThousand") $IntCurSym = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sCurrency") Can somebody tell me how to obtain regional settings for other versions of Windows such as Win98SE? harryh Link to comment Share on other sites More sharing options...
Zedna Posted February 12, 2007 Share Posted February 12, 2007 (edited) I used RegShot to observe these keys:My values (on WIN98SE):$IntDecSep = RegRead("HKEY_USERS\.DEFAULT\Control Panel\International", "sDecimal")$Int1000Sep = RegRead("HKEY_USERS\.DEFAULT\Control Panel\International", "sThousand")$IntCurSym = RegRead("HKEY_USERS\.DEFAULT\Control Panel\International", "sCurrency")Your original:;Check the Decimal, Thousands separator and Currency Symbol in accordance with Regional Settings$IntDecSep = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sDecimal")$Int1000Sep = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sThousand")$IntCurSym = RegRead("HKEY_CURRENT_USER\Control Panel\International", "sCurrency") Edited February 12, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now