Custom settings of track window layout?

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Custom settings of track window layout?

by ZvezdanD » Sun Oct 14, 2007 4:48 pm

Yeah, I work also very hard to make some script, but I have not any support from them. I posted some MM scripting bugs and requests in scripting wish list thread, but stayed without any answer. How about my request in this thread for a Column object? None of them answered me.

As I said in some another thread, I think that VB scripting don't belongs to "other things". In my opinion it is very important to MM success as integrated functions. They should spent more time supporting it, almost same amount of time as they are involved in development of the application itself.

I don't know, maybe they are visiting this forum. But tell me when did you saw last post from someone of them in this forum? How frequently they are doing this?

by Bex » Sun Oct 14, 2007 3:47 pm

They sure do!
However, they work very hard with getting MM3 out so there are very little time for other things...

Why do you doubt?

by ZvezdanD » Sun Oct 14, 2007 3:36 pm

Well, I have a doubt that MM developers visit this forum at all.

by Bex » Sun Oct 14, 2007 3:00 pm

That's sad. I'll guess we have to make a wish in the scripting wish list thread then.

by ZvezdanD » Sun Oct 14, 2007 2:05 pm

After I saw that some of users want this also, I tried to implement this and sorry to say that this is not possible. After registry hacking, a columns layout is not changed even if I use SDB.MainTracksWindow.Refresh. After closing of the application, initial values from registry are restored back. On another side, if I change let say the order of columns manually by drag & drop, registry values not reflect this changes until the application exit.

Even if this could work, registry key \Software\Songs-DB\Interface\ListViews\SongList\ColumnX holds only layout properties for MM2 (where X is between 1-26), and I don't know where are values for MM3.

by Bex » Thu Jul 26, 2007 11:18 am

Ok I see. Yes that would be very cool.
Looking forward to the script! :D

by ZvezdanD » Thu Jul 26, 2007 10:59 am

Yes, I did understand what you want to say, but you don't understand me. Please, let me explain. I am suggesting developers to implement something similar to:

Code: Select all

Set objColumn = SDBTracksWindow.Column(nnn)

objColumn.Width = nnn
objColumn.Order = nnn
objColumn.Visible = bbb
objColumn.Name = sss
...
Of course, this is from scripts point of view.

Anyway, thank you very much for help. I think that I will implement this what you suggest.

by Bex » Thu Jul 26, 2007 10:30 am

It's already implemented!'

Code: Select all

---------------------------------------------------------------
ISDBRegistry members 

Properties
Name         Type 
BoolValue    Property Get/Let 
CloseKey     Method  
IntValue     Property Get/Let  
KeyExists    Property Get  
OpenKey      Method  
StringValue  Property Get/Let  
ValueExists  Property Get  
--------------------------------------------------------------

by ZvezdanD » Thu Jul 26, 2007 9:23 am

Thanks for your help, but I think that would be nice if developers would add appropriate functions in their API. In my opinion, solution with registry is hacking, not very clean and unofficial.

Well, if developers wouldn't change anything in that direction, maybe I'll go to implement this what you suggest.

by Bex » Thu Jul 26, 2007 9:05 am

Try:
Function OpenKey(Key As String, CanCreate As Boolean) As Boolean

by ZvezdanD » Thu Jul 26, 2007 9:01 am

Yeah, I see now. But, I need this possibility for VB scripts. I don't asking developers to spend their time for such thing. I need only some API methods and properties to be able to implement this by myself.

by karimleo » Thu Jul 26, 2007 8:46 am

I also posted something along these lines a few days ago here http://www.mediamonkey.com/forum/viewtopic.php?t=19250

by ZvezdanD » Thu Jul 26, 2007 8:35 am

Well, I am thinking that would be nice if I can a possibility to choose track window layout depending of selected Magic node.

by Bex » Thu Jul 26, 2007 8:30 am

These settings are stored in the registry so it should be possible. I haven't test it yet though but I have been thinking of that it would be nice to have a toggle options between various layouts.

Custom settings of track window layout?

by ZvezdanD » Thu Jul 26, 2007 8:24 am

This is another one which I am pretty sure that is not possible, but just want to ask. Is it possible to set the Track window layout and properties of its columns? I need to choose which columns will be visible, their displayed arrangement, width... So, if I choose some custom node in the main tree list, let say Internet radio, I need to get only related columns (unfortunately MM has not adequate columns for Internet radio, but maybe one day).

Of course, I need programmable solution...

Trixmoto, tell me just for once that something can be realizable.

Top