first tried the solution of Khatovar, but it doesnt work
then i tried mikekim one

it looked good i changed everything and pressed the hotkey scroll lock
but i get the information:

From this pc: <sendwinm hgl1> <keydown D>

sending to 192.168.xxx.xxx
sucessfully sent.
<sendwinm hgl1> failed: could not find window "HGL1"
<keydown D> failed: no window is targeted

then same with keyup D


server and client are connected
i tried both games with normal screen then with window mode and it dont work
tried change resolution in script and game, same problem

hope i get it work anytime
what do you think is the problem ?

btw: do i need to copy script from pc to notebook and press scroll lock key too ?