in reply to X11::GUITest and Umlauts
BUT, if I change the input method (via Keyboard Layout Handler) for the window started by the script, it starts typing the accented characters instead of normal ones. Not sure whether I can set the input method from within the script, though.
Update: I use LeftShift + RightShift to change the input method. The following worked for me:
PressKey($_), WaitSeconds(0.1) for qw( LSH RSH ); ReleaseKey($_) for qw( LSH RSH ); SendKeys("echo 123\n"); # Sends +ěš instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: X11::GUITest and Umlauts
by LanX (Saint) on Oct 17, 2025 at 13:28 UTC | |
by choroba (Cardinal) on Oct 17, 2025 at 13:58 UTC | |
by LanX (Saint) on Oct 17, 2025 at 16:01 UTC | |
by choroba (Cardinal) on Oct 17, 2025 at 16:35 UTC | |
by NERDVANA (Priest) on Oct 19, 2025 at 18:31 UTC | |
| |
by LanX (Saint) on Oct 17, 2025 at 17:09 UTC | |
by cavac (Prior) on Oct 23, 2025 at 08:03 UTC | |
by LanX (Saint) on Oct 25, 2025 at 10:32 UTC | |
by hippo (Archbishop) on Oct 17, 2025 at 13:52 UTC |