Page 1 of 1

Modifier ghost key

Posted: 21 Jun 2016, 05:33
by megnatar
Hey there

For some reason my autowalk/autorun function is sending modifier key lshift down and up. But none is specified in the script.
There is nothing in the script that comes anything near >+, vk A0 ore sc 02A. Although at first I thought the problem was within
variable AnyKey with the n representing 0 since input parameter for a key can only be one, if I'm not mistaken. But changing the
variable from AnyKey to X renders the same "problem".

It's not really posing a serious problem, I just can't stand it the script does something I don't want it to do and understand.

The script can be found here

Megnatar

Re: Modifier ghost key

Posted: 21 Jun 2016, 05:58
by Nextron
You're sending a capital W, which is achieved by pressing Shift and w. Make it lowercase should fix it. In addition to that, you may want to use SendInput {Blind}w, so that any modifiers physically pressed will not be released during the send.

Re: Modifier ghost key

Posted: 21 Jun 2016, 06:15
by megnatar
Okeeee, really it's that simple how obvious :headwall:
thank you !

What did our queen say years past to her husband "hij is een beetje dom"
kinda feel like that now :D

great tip thank you

Re: Modifier ghost key

Posted: 21 Jun 2016, 10:57
by Nextron
You're welcome fellow countryman. :wave: