Page 1 of 1
ON KEY F12 not working
Posted: Mon Sep 21, 2026 9:09 am
by serge_girard
Hello,
How to solve pressing F keys not working?
In some application F6 won't work anymore and introducing new F12 function doesn't work.
Code: Select all
ON KEY F1 ACTION { ... ,... }
ON KEY F6 ACTION { ... ,... }
ON KEY F12 ACTION { ... ,... }
Serge
Re: ON KEY F12 not working
Posted: Mon Sep 21, 2026 1:10 pm
by danielmaximiliano
Hola Serge:
como no tengo un ejemplo de teclas Fxx busque en los ejemplos HMG y en la carpeta Evets hay uno que cubre todo.
es : C:\WorkSpace\hmg.3.6\SAMPLES\Events\On_Key\ON_KEY_3\demo.prg
se ejecuta, funcionan correctamente

- Screenshot 2026-09-21 100435.png (95.33 KiB) Viewed 128 times
Re: ON KEY F12 not working
Posted: Tue Sep 22, 2026 5:44 pm
by serge_girard
DaNiElMaXiMiLiAnO,
Key F1..F11 are working fine... F12 is NOT working, dunno why..?
Serge
Re: ON KEY F12 not working
Posted: Tue Sep 22, 2026 7:45 pm
by AUGE_OHR
hi,
i´m not sure about how F12 work but i have this in me CODE and it work
RegWrite( cKey + "UserDebuggerHotKey", 47 ) // F12
MsgInfo( "need Re-boot to use F12" )
...
ON KEY F12 OF Win_1 ACTION Win_1.Release
Re: ON KEY F12 not working
Posted: Wed Sep 23, 2026 6:29 am
by serge_girard
Thanks Jimmy, I will try!
Serge