Page 1 of 1
Custom settings of track window layout?
Posted: Thu Jul 26, 2007 8:24 am
by ZvezdanD
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.
Posted: Thu Jul 26, 2007 8:30 am
by Bex
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.
Posted: Thu Jul 26, 2007 8:35 am
by ZvezdanD
Well, I am thinking that would be nice if I can a possibility to choose track window layout depending of selected Magic node.
Posted: Thu Jul 26, 2007 8:46 am
by karimleo
I also posted something along these lines a few days ago here
http://www.mediamonkey.com/forum/viewtopic.php?t=19250
Posted: Thu Jul 26, 2007 9:01 am
by ZvezdanD
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.
Posted: Thu Jul 26, 2007 9:05 am
by Bex
Try:
Function OpenKey(Key As String, CanCreate As Boolean) As Boolean
Posted: Thu Jul 26, 2007 9:23 am
by ZvezdanD
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.
Posted: Thu Jul 26, 2007 10:30 am
by Bex
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
--------------------------------------------------------------
Posted: Thu Jul 26, 2007 10:59 am
by ZvezdanD
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.
Posted: Thu Jul 26, 2007 11:18 am
by Bex
Ok I see. Yes that would be very cool.
Looking forward to the script!

Posted: Sun Oct 14, 2007 2:05 pm
by ZvezdanD
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.
Posted: Sun Oct 14, 2007 3:00 pm
by Bex
That's sad. I'll guess we have to make a wish in the scripting wish list thread then.
Posted: Sun Oct 14, 2007 3:36 pm
by ZvezdanD
Well, I have a doubt that MM developers visit this forum at all.
Posted: Sun Oct 14, 2007 3:47 pm
by Bex
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?
Posted: Sun Oct 14, 2007 4:48 pm
by ZvezdanD
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?