Out of a dozen tray apps (Syncthing, Calibre, VoIP, Torrent, every Games Store), MusicBee is the only one that doesn't close to tray, and most annoying since I open it often.
The lack of votes is a selection bias, not everyone will register on the forum to complain, or will find another app.
- It's basically a service with DLNA running in the background, a warning "Are you Sure? Yes/No" would be nice.
- Without looking, it's quicker/easier to hit the close button instead of aiming for minimize.
- It's expected, every music player has the option close to tray.
- It's impossible:
I made an AutoHotKey script for those you can't live without:
#NoEnv
#SingleInstance Force
; Close to Minimize
Classes := "WindowsForms10.Window.8.app.0.2bf8098_r7_ad1" ;
Loop, parse, Classes, `,
GroupAdd, GroupName, ahk_class %A_LoopField%
SetTimer CheckMouse, -100
return
CheckMouse:
CoordMode, Mouse, Screen
MouseGetPos, mX, mY, WindowUnderMouse
WinGetPos, wX, wY, wW, wH, ahk_id %WindowUnderMouse%
CloseButton := (mY > wY and mY < wY+35 and (mX > wX + (wW-50) and mX < wX+wW))
SetTimer CheckMouse, -100
return
#If (CloseButton)
~LButton::
~RButton::
MouseGetPos,,, WindowUnderMouse
WinGetClass, Class, ahk_id %WindowUnderMouse%
If Class in %Classes%
{
WinMinimize, ahk_id %WindowUnderMouse%
}
return
If anyone's still using this script and it's not working - you need to change the class name to the following if you're on the latest MusicBee version: WindowsForms10.Window.8.app.0.2bf8098_r8_ad1
And every time it stops working it's worth a shot to check if the class name has changed and if so adjust the script accordingly.
To check the class name I've made a handy small script:
; Example to get the class of a MusicBee window
WinGetClass, class, Olivia Rodrigo - Teenage Dream - MusicBee
MsgBox The class of the MusicBee window is %class%
Change the " Olivia Rodrigo - Teenage Dream - MusicBee" part to whatever your MusicBee window's current title is and run the script to get a popup containing the program's class name.