 	}
 	Return
 
+; ====================================================================
+
 Capslock::
 	ToggleLanguage()
 	Return
 
 <^Capslock::
-	PostMessage, 0x50, 0, 0xF01A0409,, A
+	PostMessage, 0x50, 0, 0xF01A0409,, A ; Eng DVL
 	Lang := 0
 	Return
 
 >^Capslock::
-	PostMessage, 0x50, 0, 0xF01B0409,, A
+	PostMessage, 0x50, 0, 0xF01B0409,, A ; Eng DVR
 	Lang := 0
 	Return
 

	Return Str
}

ActivateKeyboardLayout(HKL) ; This does not work.
{
	; For initialization, necessary to run only once.
	DllCall("Ole32.dll\OleInitialize", "Ptr", 0, "Int")
	DllCall("LoadKeyboardLayout", "Str", "00020409", "Int")


	T := DllCall("ActivateKeyboardLayout", "UInt", HKL, "UInt", 0x00000000, "PTR")
	If (!T)
	{

SetTitleMatchMode, RegEx
SetCapsLockState, AlwaysOff

; ====================================================================

GetKeyboardLayout()
{
