Manipulating incoming strings

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
whoops
Posts: 12
Joined: 12 May 2023, 18:51

Manipulating incoming strings

06 May 2024, 16:26

I'm having a strange problem with my keyboard that i'm trying to correct with an autohotkey script.

when the letter X is pushed on my keyboard, it produces the following visible output:
|XVN<? (apparently all pushed at the same time).

this is an e1|XVN<?ample of what it looks like in normal |XVN<?ample

but the keybaoard hook shows all ths going on in the buffer.
61 04F h d 4.72 Numpad1
A1 136 d 0.00 RShift
A1 136 u 0.00 RShift
22 051 d 0.00 NumpadPgDn
A2 01D i d 0.00 LControl
45 012 i d 0.00 e
A2 01D i u 0.00 LControl
A1 136 u 0.05 RShift
23 04F u 0.00 NumpadEnd
A1 136 d 0.00 RShift
A1 136 u 0.00 RShift
63 051 u 0.00 Numpad3
E2 056 u 0.00 \
58 02D u 0.00 x
56 02F u 0.00 v
4E 031 u 0.00 n
BC 033 u 0.00 ,
BF 035 u 0.00 /
74 03F d 0.51 F5

So far I've tried creating a hotkey for Numpad1 containing an input hook to supresss the rbut i'm not having very good luck with it. \xvn,1
i've tried using input hooks where trying to match on a portion of the keys it's sending,
tried various keyWait configurations also. like multiple keywaits stacked... nested keywaits, and even looped conditional keyWaits.
tried combined getKeyStates

I just can't seem to get it to capture and hide the output that you are seeing in the table above

also, when i am able to finally figure out how to supress all that, what method do i use for sending a logical X. to ensure it doesn't end up in an infinite loop?

thanks in advance.

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: cgx5871, pedro45_vs and 19 guests