Thank you, John. I know you are very busy and I feel bad about bothering you. But there is no one else 😉.
Here my findings:
HidMacros alone generates "z" in Browser, Text Editors, etc., but "Num1" in MSFS and FSUIPC.
(I am not surprised about FSUIPC, since I understand FSUIPC gets the key from MSFS via Simconnect).
HidMacros plus UseKeyboardHook=Yes still only gives "Num1" in MSFS and FSUIPC (and "z" in editor etc.). To me that means that either FSUIPC gets the keystroke before HidMacros or on another way than HidMacros or UseKeyboardHook=Yes is not doing anything in this situation.
I believe this is the end of the road or do you have any other suggestions?
Thank you.
Klaus
(P.S.: NumLock=Off on the main keyboard (no HidMacros) generates strange behavior on the second numpad. Some keys come through but there is always a NumLock=On on keypress and NumLock=Off on key release in addition. With HidMacros, the key is converted with KeyLock=On on the main keyboard and without that it's again pretty strange. So this will not help.
P.P.S.: Since HidMacros is no longer supported for MSFS, it cannot use Simconnect to connect to MSFS, but otherwise works just fine with other programs. But Simconnect should not be needed anyway, since the hooked and reassigned keypresses from HidMacros worked just fine in FSX (and now also in editors/browsers, but not in MSFS.)