Page 1 of 1

Settings menu keyboard shortcut (F12) issues (no hotkey remap + AHK issues) [Solved]

Posted: Mon Jun 30, 2025 5:08 am
by golemus
I am mapping majority of apps I use so that CTRL-, (comma) keyboard shortcut goes to Preferences/Settings menu as this is most common "de facto" keyboard shortcut for this feature in different apps and some apps do not allow shortcut remapping.

1. For some weird reason it seems to be not possible to change hotkey/keyboard shortcut of Settings...

Is there some reason for this or is it just a bug that should be fixed?




2. Fixing it in the app would be of course best but for now I am trying to circumvent the issue by using autohotkey to map CTRL-, to F12 when xnview mp is used. For some reason this seems impossible. I can do autohotkey mappings to F2 (rename) but not to F12. Below are mappings (AHK 1.1.x) which I am using for xnview mp:

; XNVIEW MP
#IfWinActive, ahk_exe xnviewmp.exe

!b::Send, {f2} ; rename easier alt-b
!n::Send, +^{n} ; new folder easier alt-n
^,::Send, {f12}


Opinions? (platform is windows 11)

Re: Settings menu keyboard shortcut (F12) issues (no hotkey remap + AHK issues)

Posted: Mon Jun 30, 2025 5:31 am
by golemus
I was able to fix it by adding this line to default.keys:

cmd_settings Ctrl+,


Dunno why cmd_settings was completely missing from there.

Re: Settings menu keyboard shortcut (F12) issues (no hotkey remap + AHK issues) [Solved]

Posted: Mon Jun 30, 2025 9:43 pm
by golemus
apparently it does not work for wrong because as soon as I modify hotkey settings XNMP overwrites this file and removes cmd_settings from it.

Could you remove Solved tag from the topic?