Page 1 of 1

One key for "Open/hide XYplorer"

Posted: 20 Mar 2014 08:53
by Anatoliy Talskiy
Please, make one key for "Open/hide XYplorer"! Additionally, it will be convenient to hide main window with "Escape". Thank you!

Re: One key for "Open/hide XYplorer"

Posted: 20 Mar 2014 09:14
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.

Re: One key for "Open/hide XYplorer"

Posted: 20 Mar 2014 10:21
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)

Re: One key for "Open/hide XYplorer"

Posted: 20 Mar 2014 11:20
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


Re: One key for "Open/hide XYplorer"

Posted: 20 Mar 2014 12:05
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! :)