One key for "Open/hide XYplorer"

Features wanted...
Post Reply
Anatoliy Talskiy
Posts: 4
Joined: 20 Mar 2014 08:40
Location: Russia, Volgograd (Россия, Волгоград)
Contact:

One key for "Open/hide XYplorer"

Post by Anatoliy Talskiy »

Please, make one key for "Open/hide XYplorer"! Additionally, it will be convenient to hide main window with "Escape". Thank you!

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: One key for "Open/hide XYplorer"

Post by bdeshi »

Hi and welcome to the forum!

I can help you if one key equals one mouse click. :)

select "Tools" and then "Configuration" from main menu. Then select "Startup and Exit" on the left side of the configuration dialog that opens up.
Now on the right side, tick "Minimize to tray" and "Minimize to tray on X close".
From now on, you can hide XYplorer by closing it via the titlebar close button OR by minimizing it. And you can show it again by clicking it's icon on the taskbar tray.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Anatoliy Talskiy
Posts: 4
Joined: 20 Mar 2014 08:40
Location: Russia, Volgograd (Россия, Волгоград)
Contact:

Re: One key for "Open/hide XYplorer"

Post by Anatoliy Talskiy »

Thank you, SammaySarkar!
I use this, but I prefer to hide and show program via hotkeys, it comfortably (too lazy to move the mouse :D)

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

Re: One key for "Open/hide XYplorer"

Post by highend »

While you're waiting for this...

A small .ahk script:

Code: Select all

#NoTrayIcon
#SingleInstance force

#IfWinActive, ahk_class ThunderRT6FormDC
Esc::
WinMinimize, A
xyMinimized := 1
return
#IfWinActive

#v:: ; Windows + v | AHK help file: Basic Usage and Syntax - Hotkeys
if (xyMinimized) {
	WinActivate, ahk_class ThunderRT6FormDC
	WinRestore, ahk_class ThunderRT6FormDC
	xyMinimized := 0
} else {
	WinMinimize, ahk_class ThunderRT6FormDC
	xyMinimized := 1
}
return

One of my scripts helped you out? Please donate via Paypal

Anatoliy Talskiy
Posts: 4
Joined: 20 Mar 2014 08:40
Location: Russia, Volgograd (Россия, Волгоград)
Contact:

Re: One key for "Open/hide XYplorer"

Post by Anatoliy Talskiy »

Thak you, Highend :)! In general, very similar to what I need!
I changed the hotkey to Alt+s and now I feel complete comfort in working with the program! :)

Post Reply