[SOLVED] Prevent Alt-P script shortcut to open the Panes menu

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

[SOLVED] Prevent Alt-P script shortcut to open the Panes menu

Post by Leito »

I've created a user-defined command that uses the Alt+P shortcut:

Image

The issue is when I use the Alt+P shortcut to run my script, it also opens the "Panes" menu as it has a mnemonic on the "P" letter. Is there any way I can prevent a menu with mnemonic to open when there is a script using the same shortcut?
Last edited by Leito on 16 Mar 2018 10:04, edited 1 time in total.

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Prevent Alt-P script shortcut to open the Panes menu

Post by highend »

Sure, get the latest language reference file from
viewtopic.php?f=12&t=9648
(if your using the English language for XY ofc!)

Menu - Help - Select Local Language File...
Select and open the downloaded .lng file

Menu - Help - Interface Translation Tool
Search for what you need to edit in the
search box, e.g. "panes", remove the "&"
in front of it, button "Save"

Done.
Remember, you need to do this again, whenever you want to upgrade your
language file (or you script that replacement, it's a normal text file
that can easily be edited)...
One of my scripts helped you out? Please donate via Paypal

Leito
Posts: 562
Joined: 26 Sep 2016 15:37
Location: Windows 10 1809 x64

Re: Prevent Alt-P script shortcut to open the Panes menu

Post by Leito »

Thanks!

Is this something I would have to do after each XYplorer update?

highend
Posts: 15004
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Prevent Alt-P script shortcut to open the Panes menu

Post by highend »

No, not as long as the reference file isn't updated
One of my scripts helped you out? Please donate via Paypal

Post Reply