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

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
golemus
Posts: 86
Joined: Mon Dec 23, 2024 8:35 am

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

Post 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)
golemus
Posts: 86
Joined: Mon Dec 23, 2024 8:35 am

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

Post 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.
golemus
Posts: 86
Joined: Mon Dec 23, 2024 8:35 am

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

Post 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?
Post Reply