moudey / Shell

Powerful context menu manager for Windows File Explorer
https://nilesoft.org
MIT License
2.9k stars 96 forks source link

Underline access keys don't work #391

Closed ABAL1412 closed 5 months ago

ABAL1412 commented 5 months ago

When I enable the option "Underline access keys when available" in settings, it doesn't work. I'm on Windows 10 22H2. image image

RubicBG commented 5 months ago

NS has its own settings: https://nilesoft.org/docs/configuration/themes // prefix value [auto, 0 = dont display, 1 = display, 2 = ignore] prefix = 1 there is also an option to link the two settings: when you change the settings in the windows panel, they can be reflected in NS directly

ABAL1412 commented 5 months ago

Thank you! But how can I link the two settings? Sorry but I'm not good at programming. I'm not an English native speaker either. I can't find it on your web.

RubicBG commented 5 months ago

it is nowhere - a new logic has yet to be created. when I'm ready I'll write. or come to NS Discord Channel: https://discord.com/channels/1106387012707168318/

RubicBG commented 5 months ago

add this line to shell.nss:

theme.item.prefix=if(str.equals(reg.get('HKEY_CURRENT_USER\Control Panel\Accessibility\Keyboard Preference', 'On'), 1), 1,'')

reload NS (or restart the explorer) the next time you change the Windows setting, you only need to reload the NS

there are other ways to achieve the result