Desktop.Robot icon indicating copy to clipboard operation
Desktop.Robot copied to clipboard

Key converted wrong on net5 console app

Open BartNetJS opened this issue 3 years ago • 1 comments

When i write keys i got a wrong output

image

The same with a string

I can see that it is depending on the keyboard. I have an Belgium Azerty keyboard. image So when i send "0" i got the "&" instead, that is the key you got on an azerty keyboerd by default (for 0 i have to press the shift key)

BartNetJS avatar Dec 22 '21 17:12 BartNetJS

Maybe you can have a look at this project: https://github.com/michaelnoonan/inputsimulator This is using SendInput instead of keybd_event. Also keybd_event is depreciated

BartNetJS avatar Dec 22 '21 18:12 BartNetJS