replace kbd2 with numpad5 key
Posted: 06 Jun 2022, 16:44
I wanted to make a script for me to press a key on keyb2 turn into a mouse click
script option:
HIDMacros.MouseClick 49, 980, 1
but in this case it needs an x,y code.
second option.
windows mouse keys enabled.
when pressing numpad5 it turns into a left mouse click
So now all i needs is the script that turns keyb2 action 32 ( somthing like that, i use the scan function ) into a numpad 5 action.
HIDMacros.numpad5 does not work.
Can annyone explain how i figure this out.
https://img.joomcdn.net/e2da7e7dc4e7a7c ... ginal.jpeg keyb2
script option:
HIDMacros.MouseClick 49, 980, 1
but in this case it needs an x,y code.
second option.
windows mouse keys enabled.
when pressing numpad5 it turns into a left mouse click
So now all i needs is the script that turns keyb2 action 32 ( somthing like that, i use the scan function ) into a numpad 5 action.
HIDMacros.numpad5 does not work.
Can annyone explain how i figure this out.
https://img.joomcdn.net/e2da7e7dc4e7a7c ... ginal.jpeg keyb2