1

Prior to Windows 10 I was using something similar to Autohotkey scripts mentioned in this question. After upgrading to Windows 10, PostMessage to a Skype chat window causes Skype to freeze.

Is here another way to switch keyboard layouts? I have 3 layouts and want to be able to enable any of them with Ctrl, Alt and Shift keys (single presses), and my script still works outside of the Skype.

Here is an example of the script that triggers the issue:

#NoEnv
SendMode Input

ru := DllCall("LoadKeyboardLayout", "Str", "00000419", "Int", 1)
~RCtrl & F1::return
~RCtrl::PostMessage 0x50, 0, %en%,, A

With this script running, RCtrl instantly freezes the Skype. Do I need to send something else?

x3al
  • 156

1 Answers1

1

Pretty annoying Skype problem with hang on keyboard layout switch. For user workaround is to use [Win]+[Space] combination.