Universal input-language switch script

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
OrangeCat
Posts: 65
Joined: 14 Jun 2022, 00:47

Universal input-language switch script

11 Sep 2023, 05:58

Hello,

If not too much trouble, was wondering if someone would be able to provide a "input-language/keyboard layout switch" script via below-stated parameter respect

For the script to not rely onto any of windows default-set hotkey(s) configuration
(As in: to not rely on "Send {!Shift}", "Send {#Space}", "etc.")

While also being universal?

Basically...
Having used Windows 10 modern "regional & language" settings to add "Canadian Multilingual Standard" & "Canadian French" alongside of "English US"
Having Un-Assigned all of Windows-default Text-Services & Input Languages: «Ctrl + Shift», «Left Alt + Shift», «Grave Accent (`)»

I'd like for the script to detect & solely rely on reading stated configurations
(where, if script requires use of language's constant/stings; then for said constant/stings to auto-apply via said-detection)

And, if ever configuring Windows to use alternative inputs/layout configuration, for script to auto-detect
(can be read upon any of above stated "language-change hotkeys" if easier).


But basically, I'd like for hotkeys to be able to
- to change forward (next set-language)
- to change backward (prior set-language)

- and, if ever also is easy to include, to have a per-language specific dedicated hotkey
(Per-Language Hotkey Example: #Space & M::Canadian Multilingual Standard, #Space & F::Canadian French, #Space & U::English US
...where i'd manually configure in script / which,
...I wouldn't mind having to manually enter constant/string for this particular per-language hotkey spec (if ever too inconvenient to apply via per above stated detection)).


I would greatly appreciate it if anyone could please provide me a quick written script, if not too much trouble...

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: AlFlo and 146 guests