Solution for AHK keyboard layout switching script that doesn't work in Windows system windows. Learn how to fix the script using DllCall and WinAPI calls.