Behind Titlebars - Show / Hide all script created titlebars

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Behind Titlebars - Show / Hide all script created titlebars

Post by DaledeSilva »

Do you feel like your perfect layout is stuck behind titlebars?
Show and hide them all easily.

MediaMonkey 3 allows scripters to write great scripts which create panels that can be repositioned in the MediaMonkey window or even docked in it. However, while some of us take care in positioning them for the most efficiency or aesthetics, one they're in position, we most often don't need to see the titlebars of those panels anymore.
Sometimes scripters haven't programmed in a way to hide the titlebars in their scripts.

Behind Titlebars creates a submenu in the "view" dropdown which lets you show / hide titlebars from various other scripts installed.

- Behind Titlebars hides all titlebars immediately upon MediaMonkey starting.
- To show / hide titlebars quickly and easily, use the shortcut "ctrl + ~" or "ctrl + `" (The key next the "1" key at he top left of your keyboard.

You'll find the script on this page:
http://www.oiltinman.com/downloads

- Please note that Behind Titlebars will only run with MediaMonkey 3.1.0.1209 or higher.
Last edited by DaledeSilva on Thu Feb 26, 2009 4:42 am, edited 2 times in total.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by DaledeSilva »

The reason I have started this script version at v0.9 and not v1.0 is because it's missing a small feature that I would like to implement.

The script reads what panels have been created from the windows registry - but more than script created panels are listed there.. so they also show up in the view menu.
This does not affect use the shortcut to hide / show all panels at once though.


currently, I have these appearing in my own view menu

Code: Select all

MiniLyricsEmbedder_Panel
DockablePanel1
moodbar_Panel
PrettyPicturesPanel
MonkeyFlowPanel
np_Panel
I'm assuming that
DockablePanel1 and np_Panel are MM3 internal panels and I should tell my script to ignore them.
for this to be true.. everyone should have them their no matter what scripts you've installed - does anyone not?

thanks,
Dale.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by nohitter151 »

This script is fantastic!!! :D

Thanks so much for this, its been one of my biggest gripes with MM.

Btw, I have np_Panel but not DockablePanel1 in my menu.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
DreadM
Posts: 1018
Joined: Wed Mar 26, 2008 1:09 pm
Location: Germany

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by DreadM »

Greetings

Genius,thanks for that,
in my menu looks like np_panel stands for for MonkeyRok,
also got no DockablePanel1 entry
Dreadlau
Posts: 1967
Joined: Sun Nov 25, 2007 6:49 am

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by Dreadlau »

Nice job DaledeSilva!!
Seven Ultimate X64 SP1 / Sansa Clip 2go (with RockBox)
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by nynaevelan »

Of course all I get is a box that is in the way :-? , and this is with scripts enabled and disabled. Sorry I had to use MS Paint for the photo, Photoshop is in the middle of doing something.

Image

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
Eyal
Posts: 3116
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by Eyal »

DaledeSilva wrote:- Please note that View Mode will only run with MediaMonkey 3 or higher. (there may be a minor version needed also, but I'm not sure what it is)
Image

Does not seem to work with 3.0.6.1190. :(
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by nohitter151 »

The script will only work with 3.1.0.1209 and up.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by nynaevelan »

nohitter151 wrote:The script will only work with 3.1.0.1209 and up.
Any guesses on my error, I am on 1221...

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by Bex »

@Dale,
To present a warning to users who try to install the script on an MM 3.0, you can do something like this:

Code: Select all

Sub Install()
  If SDB.VersionString < "3.1.0" Then
     SDB.MessageBox "View Mode is only compatible with MediaMonkey 3.1.0.1221 and later."& VbNewLine &_
                    "Please Update your version of MediaMonkey. You might need to download from the Beta Forum to get the required version."& VbNewLine &_
                    "The script will not be installed.", mtWarning, Array(mbOk)
     Exit sub
  End If
  'Install code
End Sub
You can also use versionbuild, but read here first:
http://www.mediamonkey.com/forum/viewto ... 11#p184211
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by DaledeSilva »

Thanks alot Bex,
I have implemented a combination of those errors.

I have uploaded the new installation files and upgraded the version number to v0.9.1


though, my brother is running 3.0.6.1190
and he said he didn't get my tailored error message, but instead it just said "invalid product installation package"
any idea why?

Dale.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by Bex »

Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by DaledeSilva »

nah.. that wasn't the case actually. not sure
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by Bex »

I really don't know, perhaps the package got corrupt when he downloaded it?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
DaledeSilva
Posts: 906
Joined: Sun May 28, 2006 4:22 am
Location: Australia
Contact:

Re: Behind Titlebars - Show / Hide all script created titlebars

Post by DaledeSilva »

thanks for giving it some thought, Bex, don't worry about it though.. it's no big deal.
hopefully everyone likes the script.

let me know if there's anything I should fix / change.
Dale.
Product Designer & Indie Developer.
Building at the intersection of motion, art, and code.
Find me on twitter and all the other ones here.
Post Reply