changeset 620:0ddf939eeae3

Toggle input method.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Sun, 22 Jan 2017 22:59:56 +0200
parents 06d957e2cdce
children 631acaba551f
files win/autohotkey/AutoHotkey.ahk
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/win/autohotkey/AutoHotkey.ahk	Thu Jun 02 22:48:05 2016 +0300
+++ b/win/autohotkey/AutoHotkey.ahk	Sun Jan 22 22:59:56 2017 +0200
@@ -6,6 +6,9 @@
 #2:: SendMessage, 0x50,, 0x04190419,, A ; русский
 #3:: SendMessage, 0x50,, 0x04220422,, A ; украинский
 
+; Toggle input method. 0x50 is WM_INPUTLANGCHANGEREQUEST
+#j:: PostMessage, 0x50, 2, 0,, A
+
 ; http://superuser.com/questions/255209/how-can-i-use-the-keyboard-to-simulate-mousewheel-scrolling-with-autohotkey
 LWin & PgUp::
   Send {WheelUp}