Page 1 of 1

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

Posted: 20 Oct 2017 14:53
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?

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

Posted: 20 Oct 2017 15:08
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)...

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

Posted: 20 Oct 2017 17:41
by Leito
Thanks!

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

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

Posted: 20 Oct 2017 18:04
by highend
No, not as long as the reference file isn't updated