Jump to content
Sign in to follow this  
marshallprank

Windows language

Recommended Posts

marshallprank

hallo,

it is possible to get the windows language with autoIt. I want a method to find the Windows language (English or German). Any idee?

Thanks

Share this post


Link to post
Share on other sites
hannes08

Hi marshallprank,

you can get the OS language with the @OSLang macro.

See the help file for @OSLang values to have a complete list of possibilities.

edit:

English = 0409

German = 0407

Edited by Hannes123

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites
hannes08

You're welcome :unsure:


Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites
arnekaas

It better to use the user preferred language from registory:

$user_language = RegRead('HKEY_CURRENT_USER\Control Panel\Appearance','SchemeLangID')

Share this post


Link to post
Share on other sites
JLogan3o13

It better to use the user preferred language from registory:

$user_language = RegRead('HKEY_CURRENT_USERControl PanelAppearance','SchemeLangID')

Why is it better to try reading a binary Value out of the registry rather than a Macro that consistently returns the information for you? Reinvent the wheel much?


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.