@reyalp Is there a way of checking/hyjacking button codes in ALT mode that aren’t in the standard list.
On the M3 I wish to detect/use the M-Fn button.
Another complication is that I use M-Fn as the ALT key on the M3, so I was wondering if I could detect M-Fn in a running script, ie you added that button check to the standard list, could I then use it in the script by temporally changing the ALT definition while the script was running, ie away from the M-Fn button.
The use case on the M3 is that the M-Fn button is placed next to the shutter thus it is very attractive to make the M-Fn into a script controlled ‘shutter’.
I hope all that is clear

Cheers
Garry