Advanced help regarding "NewDockablePersistentPanel"

This forum is for questions / discussions regarding development of addons / tweaks for MediaMonkey.

Moderator: Gurus

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

Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva » Sat Jan 31, 2009 1:18 am

Hello,
does anyone know...
When I put in a line like this:

Dim Pnl : Set Pnl = SDB.UI.NewDockablePersistentPanel("PrettyPicturesPanel")

where is the information regarding that panel stored so that Mediamonkey can retrieve it on next run?

is it in the database or the ini file or somewhere else?

thanks,
Dale.
My Plugins: PrettyPictures [v0.9.2], Forget Crossfade [v1.0], Behind Titlebars [v0.9], Filter Nodes [v1.0.1], View Mode [1.0], BPM.tapper [v1.0]
My Site: http://www.ublik-om.net

Teknojnky
Posts: 5533
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by Teknojnky » Sat Jan 31, 2009 1:28 am

registry I believe, with all the other UI window positions and such.

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

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva » Sat Jan 31, 2009 4:07 am

considering it's in the registry...

is there a way.. using vbscript.. to talk to the registry and find out the names of the any persistent dockable panels that have been initialized?

Dale.
My Plugins: PrettyPictures [v0.9.2], Forget Crossfade [v1.0], Behind Titlebars [v0.9], Filter Nodes [v1.0.1], View Mode [1.0], BPM.tapper [v1.0]
My Site: http://www.ublik-om.net

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

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva » Sat Jan 31, 2009 4:17 am

actually.. I just located it in the registry...
so all I have to do is learn how to talk to it with vbscript.. which I can probably find online pretty easy.

I smell a handy little script coming on!
My Plugins: PrettyPictures [v0.9.2], Forget Crossfade [v1.0], Behind Titlebars [v0.9], Filter Nodes [v1.0.1], View Mode [1.0], BPM.tapper [v1.0]
My Site: http://www.ublik-om.net

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

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva » Sat Jan 31, 2009 4:37 am

bam.. I've gotten the list..
now I just need to make it work in the script!

Thanks Techno!

Dale.
My Plugins: PrettyPictures [v0.9.2], Forget Crossfade [v1.0], Behind Titlebars [v0.9], Filter Nodes [v1.0.1], View Mode [1.0], BPM.tapper [v1.0]
My Site: http://www.ublik-om.net

gege
Posts: 861
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by gege » Sat Jan 31, 2009 2:10 pm

DaledeSilva wrote:I smell a handy little script coming on!
Does it have anything to do with titlebars? :wink:

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

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva » Sat Jan 31, 2009 8:36 pm

lol... don't you know it
My Plugins: PrettyPictures [v0.9.2], Forget Crossfade [v1.0], Behind Titlebars [v0.9], Filter Nodes [v1.0.1], View Mode [1.0], BPM.tapper [v1.0]
My Site: http://www.ublik-om.net

MM3 monkey
Posts: 445
Joined: Mon Aug 27, 2007 2:34 am

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by MM3 monkey » Sat Jan 31, 2009 9:40 pm

gege wrote:Does it have anything to do with titlebars? :wink:
Ha ha, even I was on to that one.

I'm sure what you already had in mind for us, Gege, was going to be very simple and cool - so hopefully DaledeSilva is in tune with you.

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

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva » Sun Feb 01, 2009 9:29 am

Hi Guys, thanks for your help.
I've now created a script which adds the ability to show and hide all title bars for panels.

It still needs to be be packaged up and have a couple of easy tweaks done, but i will release it in a day or so (I'm very busy atm)

Gege, do you have a link to the forum where title bars was being discussed so that I can post a link to the script there? - I can't seem to find it.

Thanks.
Dale.
My Plugins: PrettyPictures [v0.9.2], Forget Crossfade [v1.0], Behind Titlebars [v0.9], Filter Nodes [v1.0.1], View Mode [1.0], BPM.tapper [v1.0]
My Site: http://www.ublik-om.net

Dreadlau
Posts: 1967
Joined: Sun Nov 25, 2007 6:49 am

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by Dreadlau » Sun Feb 01, 2009 2:13 pm

This is great DaledeSilva. Thx for sharing.

I'm looking forward to try it.
Seven Ultimate X64 SP1 / Sansa Clip 2go (with RockBox)

gege
Posts: 861
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by gege » Sun Feb 01, 2009 4:00 pm

DaledeSilva wrote:Gege, do you have a link to the forum where title bars was being discussed so that I can post a link to the script there? - I can't seem to find it.
http://www.mediamonkey.com/forum/viewto ... =4&t=34403

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

Re: Advanced help regarding "NewDockablePersistentPanel"

Post by DaledeSilva » Sat Feb 07, 2009 11:10 am

Thanks guys.. I've just uploaded it here:

http://www.mediamonkey.com/forum/viewto ... =2&t=37082
My Plugins: PrettyPictures [v0.9.2], Forget Crossfade [v1.0], Behind Titlebars [v0.9], Filter Nodes [v1.0.1], View Mode [1.0], BPM.tapper [v1.0]
My Site: http://www.ublik-om.net

Post Reply