Advanced help regarding "NewDockablePersistentPanel"

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

Moderator: Gurus

Advanced help regarding "NewDockablePersistentPanel"

Postby 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 & skins: http://www.oiltinman.com/downloads ; 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 folio site: http://www.oiltinman.com
DaledeSilva
 
Posts: 890
Joined: Sun May 28, 2006 4:22 am
Location: Australia

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby Teknojnky » Sat Jan 31, 2009 1:28 am

registry I believe, with all the other UI window positions and such.
Teknojnky
 
Posts: 5508
Joined: Tue Sep 06, 2005 11:01 pm

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby 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 & skins: http://www.oiltinman.com/downloads ; 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 folio site: http://www.oiltinman.com
DaledeSilva
 
Posts: 890
Joined: Sun May 28, 2006 4:22 am
Location: Australia

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby 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 & skins: http://www.oiltinman.com/downloads ; 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 folio site: http://www.oiltinman.com
DaledeSilva
 
Posts: 890
Joined: Sun May 28, 2006 4:22 am
Location: Australia

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby 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 & skins: http://www.oiltinman.com/downloads ; 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 folio site: http://www.oiltinman.com
DaledeSilva
 
Posts: 890
Joined: Sun May 28, 2006 4:22 am
Location: Australia

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby 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:
gege
 
Posts: 844
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby DaledeSilva » Sat Jan 31, 2009 8:36 pm

lol... don't you know it
my plugins & skins: http://www.oiltinman.com/downloads ; 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 folio site: http://www.oiltinman.com
DaledeSilva
 
Posts: 890
Joined: Sun May 28, 2006 4:22 am
Location: Australia

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby 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.
MM3 monkey
 
Posts: 432
Joined: Mon Aug 27, 2007 2:34 am

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby 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 & skins: http://www.oiltinman.com/downloads ; 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 folio site: http://www.oiltinman.com
DaledeSilva
 
Posts: 890
Joined: Sun May 28, 2006 4:22 am
Location: Australia

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby 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)
Dreadlau
 
Posts: 1965
Joined: Sun Nov 25, 2007 6:49 am

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby 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.

viewtopic.php?f=4&t=34403
gege
 
Posts: 844
Joined: Tue Sep 05, 2006 2:10 pm
Location: Brazil

Re: Advanced help regarding "NewDockablePersistentPanel"

Postby DaledeSilva » Sat Feb 07, 2009 11:10 am

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

viewtopic.php?f=2&t=37082
my plugins & skins: http://www.oiltinman.com/downloads ; 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 folio site: http://www.oiltinman.com
DaledeSilva
 
Posts: 890
Joined: Sun May 28, 2006 4:22 am
Location: Australia


Return to Addons developer forum

Who is online

Users browsing this forum: No registered users and 1 guest