Jump to content

Recommended Posts

Posted

To change the language used by Windows GUI and the browser (Chrome in my case), the only method I've found that works is to go to Settings > Time & Language > Language > Preferred Language, switch the default from English to Spanish, sign out, and then upon signing in everything will be in Spanish as expected.

Besides automating the above process is there a more direct way to change Windows' settings using AutoIt?

Posted

I would try the registry way

  Reveal hidden contents

 

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Posted
#include <WinAPISysWin.au3>
#include <WinAPISys.au3>
#include <SendMessage.au3>

Local $sLayoutID = xxxx
Local $ret = _WinAPI_LoadKeyboardLayout ($sLayoutID, $KLF_REPLACELANG)
_SendMessage ($hWnd, $WM_INPUTLANGCHANGEREQUEST, 1, $ret)

You can read registry to know what language you have preloaded

  • 3 months later...

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
×
×
  • Create New...