Hi, I was checking this topic and noticed some problems with the placement of the foo_title plugin and I have a different on this. I've been using a program called AutoHotKey, with it you can do some simple programming and add lots of features to your system, being one of the main ones the ability to add hotkeys to your system with almost no restrictions. And so with this little app, I have one of the side buttons of my mouse to show/hide foo_title, so there's no problem which size the skin is or where it is placed.
This is the code I use for it:
1 DetectHiddenWindows, Off
2 GroupAdd, g_foo_title, ahk_class WindowsForms10.Window.8.app.0.33c0d9d
3
4 XButton2::
5 IfWinExist ahk_group g_foo_title
6 WinHide ahk_group g_foo_title
7 else
8 WinShow ahk_group g_foo_title
9 return
Explaining the above for those that aren't so keen on this kind of stuff:
- Line 1: this option has to be turned off so that this little trick can work, so it'll be able to "hide" the foo_title window from the system;
- Line 2: creates a "group" of windows called "g_foo_title", and adds "WindowsForms10.Window.8.app.0.33c0d9d" class to it (which is the name of the class of foo_title, this name can be found with a little app that comes with AutoHotKey);
- Line 4: This tells which key (or combination) will be used to activate the code below, in my case, XButton2 refers to the 2nd side button on the mouse, a combination like "#s" can be used to represent the WinKey+S combination or "^!s" which represents "Ctrl+Alt+S";
- Line 5: It reads like, "if a window, from the "g_foo_title" group exists then";
- Line 6: this line sends a "Hide" command to the found window, and so the foo_title will not be shown;
- Line 7, 8: if it doesn't exist (even if foobar is running with foo_title, when the "hide" command is set, the it will not be found because of the turned off option on line 1), show the window belonging to the "g_foo_title", and foo_title is shown;
- Line 9: this line must be included in the end of a procedure so that it stops, or else anything below would be read too.
And so with this running in background, and foo_title set to be "Always On Top", each time I press the side button on my mouse if foo_title is being shown, it is hidden and vice-versa ^^
The documentation of this app is really great and pretty extensive with lots of details so you can learn how to do almost anything in it easily =) hope it helps.
PS: If anyone is interested in this app and need some help making it work I'll gladly give a hand on what I can ^^
Do you think it is possible to have a Foobar shortcut to show/hide the foo_title ?