Sending a keypress to UCCNC
Posted: Wed Aug 08, 2018 2:03 pm
Hello, I'm trying to send a keypress to the UCCNC window but it always ignore my command.
Other apps/windows receive the keypress just well.
What I did is to use the "nircmd" utility to activate the window and then send the key combination, like this:
In UCCNC I configured shift+1 to set the reset button on.
I suspect this has to do with the programming environment of UCCNC, it isn't respecting windows events or something.
Other apps/windows receive the keypress just well.
What I did is to use the "nircmd" utility to activate the window and then send the key combination, like this:
- Code: Select all
nircmdc.exe win activate stitle "UCCNC" & nircmdc.exe sendkeypress shift+1
In UCCNC I configured shift+1 to set the reset button on.
I suspect this has to do with the programming environment of UCCNC, it isn't respecting windows events or something.