marshallprank Posted April 29, 2011 Share Posted April 29, 2011 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 Link to comment Share on other sites More sharing options...
hannes08 Posted April 29, 2011 Share Posted April 29, 2011 (edited) 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 April 29, 2011 by Hannes123 Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
marshallprank Posted April 29, 2011 Author Share Posted April 29, 2011 great thanks Link to comment Share on other sites More sharing options...
hannes08 Posted April 29, 2011 Share Posted April 29, 2011 You're welcome Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler] Link to comment Share on other sites More sharing options...
arnekaas Posted October 12, 2012 Share Posted October 12, 2012 It better to use the user preferred language from registory: $user_language = RegRead('HKEY_CURRENT_USER\Control Panel\Appearance','SchemeLangID') Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 12, 2012 Moderators Share Posted October 12, 2012 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? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! 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