Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to Control AutoText
#9
this is not perfect maybe 99%

but try this

Function KeyboardLangCheck
Trigger !a"Quick Macros" "QM_Editor"     Help - how to add the trigger to the macro
Code:
Copy      Help
int hwnd=TriggerWindow
int l=GetKeyboardLayout(GetWindowThreadProcessId(hwnd 0))
int lo=l&0xffff
if lo <> 1033
,int NewKeybLayout = 0x00000409;; Layout must be already loaded!
,PostMessage(hwnd WM_INPUTLANGCHANGEREQUEST 0 NewKeybLayout)
,PostMessage(hwnd WM_INPUTLANGCHANGE 0 NewKeybLayout)


when qm window becomes active checks input language and switches to english if its not.


Messages In This Thread
how to Control AutoText - by win - 01-04-2019, 01:29 PM
RE: how to Control AutoText - by Kevin - 01-06-2019, 08:06 PM
RE: how to Control AutoText - by win - 01-06-2019, 09:52 PM
RE: how to Control AutoText - by Kevin - 01-06-2019, 10:43 PM
RE: how to Control AutoText - by Kevin - 01-07-2019, 01:55 AM
RE: how to Control AutoText - by win - 01-07-2019, 02:35 AM
RE: how to Control AutoText - by Kevin - 01-07-2019, 05:20 AM
RE: how to Control AutoText - by win - 01-07-2019, 09:29 AM
RE: how to Control AutoText - by Kevin - 01-08-2019, 12:41 AM
RE: how to Control AutoText - by win - 01-08-2019, 08:39 AM
RE: how to Control AutoText - by Kevin - 01-09-2019, 03:03 AM
RE: how to Control AutoText - by Kevin - 01-09-2019, 03:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)