How to set it up? Restore keyboard shortcuts

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
apsgocom
Posts: 7
Joined: 04 Dec 2023 01:33

How to set it up? Restore keyboard shortcuts

Post by apsgocom »

Hello everyone, I have a question and I hope you can help me!

Usage scenario: When I use XYplorer, I need it to pop up immediately. I have set it to automatically minimize to the status bar when I close the window, but I don’t know how to restore it window.

Image

I tried setting up the shortcut keys provided,

Several shortcut keys for windows, including Maximize, Minimize, and Center, all work normally, but only the shortcut key for Restoring Windows does not work. Has anyone encountered this situation? Looking forward to your help!

Image

admin
Site Admin
Posts: 64848
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to set it up? Restore keyboard shortcuts

Post by admin »

Hi there!

The Miscellaneous | Window State | Restore Window command only works when the XYplorer window has the focus (is open and in the foreground). So it can only do one thing: restore a maximized XYplorer window to a normal XYplorer window.

However, there is a tweak HotKeyShowApp that can be used for your purpose. Here you can define a hotkey to show (restore, foreground) the application when it's in the background, minimized to the taskbar or minimized to the tray:

Code: Select all

    You can state the modifier keys using the following values:
        ALT = 1
        CTRL = 2
        SHIFT = 4
        WIN = 8
      Simply add the values you need and prefix them to the key separated by a "+". E.g. like this for Win+Alt+Y:
        [Settings]
        HotKeyShowApp=9+Y
      If no modifier is stated, the modifier defaults to 8 (Win Key).
So, if you want Ctrl+Shift+O to restore XYplorer, define it like this in the INI-file:

Code: Select all

HotKeyShowApp=6+O
Finally, how to tweak the INI-file: https://www.xyplorer.com/faq-topic.php?id=tweak

* * *
In the next release it will be easier to set. I just added something. :)

apsgocom
Posts: 7
Joined: 04 Dec 2023 01:33

Re: How to set it up? Restore keyboard shortcuts

Post by apsgocom »

Hi,

Thank you very much for your support! Already started working! :appl:

admin
Site Admin
Posts: 64848
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to set it up? Restore keyboard shortcuts

Post by admin »

You're welcome. FYI, as of v25.20.0116, you can simply run a script like this from the address bar:

Code: Select all

HotKeyShowApp("Ctrl+Shift+O");    //set Ctrl+Shift+O as new hotkey

Post Reply