Skip to content
⌘ NSIS Forum Archive

How to determine the current keyboard layout ?

2 posts

stass#

How to determine the current keyboard layout ?

How to determine the current keyboard layout ? ( That is, when we switch the language by CTRL+SHIFT or ALT+SHIFT )

Why does not the definition of language ID ? :

!define SPI_GETDEFAULTINPUTLANG 0x0059
System::Call "user32::SystemParametersInfo(i${SPI_GETDEFAULTINPUTLANG},i0,i1,i0)"
MessageBox MB_OK "Lang ID: $1"
jpderuiter#
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.