Howdy yall,
I'm finally getting around to getting NullDC set up on my arcade cab, and I have all setup the way I want it, except getting it to exit properly.
I have autohotkey loaded with a small script, which I assumed would look for the NullDC process, and if it was present when the ESC key was pressed, it would kill the process and return to Mala. This all works perfectly fine, but now, that is the ONLY thing the ESC key works for. It seems that Autohotkey's default action is to take over a key completely.
I don't want autohotkey to take over control of the ESC key, I just want it to listen for it, and if NullDC happens to be up when it's pressed, kill the NullDC process.
Is there any way to accomplish this with autohotkey? If not, How do you guys exit NullDC?
Here's my script for reference:
ESC::
Process, Exist, nullDC_Win32_Release-NoTrace.exe
{
If ErrorLevel
{
process, Close, nullDC_Win32_Release-NoTrace.exe
}
}
Thanks,
Keith