New scripting features

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

Moderator: Gurus

jiri
Posts: 5394
Joined: Tue Aug 14, 2001 7:00 pm
Location: Czech Republic
Contact:

New scripting features

Post by jiri » Fri Jan 02, 2009 5:41 pm

There have been some new scripting features added particularly related to user interface, most notably SDBUIListBox and SDBUITreeList control. You can see three new sample scripts using these controls in http://www.mediamonkey.com/wiki/index.p ... le_scripts . Please check it out and let me know what there's something really important missing or not working well. I hope that it will add brand new possibilities for great scripts!

Jiri

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Re: New scripting features

Post by trixmoto » Sat Jan 03, 2009 5:52 am

Cheers Jiri, these looks great. I'll certainly have fun playing with them soon! :)
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.

Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: New scripting features

Post by Bex » Sat Jan 03, 2009 9:47 am

Thanks a lot Jiri! I'll check them out upon next release. :D
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

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: New scripting features

Post by ZvezdanD » Sun Jun 28, 2009 12:52 pm

I started recently to use your TreeList control, particularly as a replacement for ListView control. Unfortunately, I found it is missing many important things. Here are my observations:

1. There is not a tooltip for truncated text if it is wider than column width. This issue is really irritating to me.

2. It is impossible to sort some column by click on the column header since there not exists an OnHeaderColumnClick event or something similar (OnMouseUp/OnMouseMove events for TreeList.Common control cannot be used because they are not generated when a mouse cursor is over the header).

3. There is not an OnHeaderColumnMove event, so we cannot store columns position for latter retrieval if user change their order in table.

4. This control could have check boxes in each row, but there is not any way to put check box in the header. You know, such check box is using for un/selecting all rows in table in your Auto-Tag and Auto-Organize dialogs. I have some workaround for this using additional check box, but it has one more tab stop (if you navigate controls with the Tab key) and has different background color than the header background:
Image

5. There is not a possibility to change background color of some cell as you could do with your Auto-Tag/Auto-Organize tables and Unsynchronizes Tags tracklist with some cells in yellow color.

Well, if I really want to replace the Web Browser control and HTML tables with the TreeList control, I need also some things which are not possible as well, e.g. to set foreground color of some part of text or to set word-wrapped display of text...
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

Post Reply