how to get list items

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: how to get list items

Re: how to get list items

by wolfram.brod » Mon Mar 16, 2009 10:31 am

Thanks - YES!!
I Found it under
HKEY_CURRENT_USER\Software\MediaMonkey\Interface\ListViews\Playlist-MainWin

Thanks to all of You
Wolfram

Re: how to get list items

by ZvezdanD » Mon Mar 16, 2009 2:35 am

trixmoto already gave you an answer. There is no way to find that information through the API. Unfortunately, you could not use registry approach as he suggested because MM updates that information only during program exit: http://www.mediamonkey.com/forum/viewto ... =2&t=19445

Re: how to get list items

by wolfram.brod » Sun Mar 15, 2009 2:13 pm

Thanks reybeau528,
with your reply I get a list of all songs currently in the displayed list. So I may get the value of the BPM-field of each song. However, what I want to know:
Is the BPM currently displayed? (As you know, I may include or exclude field from the display, and what I really want to know is:
What fields (or columns) are currently visible; e.g. does the user currently see the BPM-value?

thanks for every reply which helps me.

wolfram

Re: how to get list items

by trixmoto » Fri Mar 13, 2009 5:25 am

Do you mean a list of the currently visible columns? I don't think this information is available directly via scripting, but I think it's stored in the registry so you might be able to extract it from there, if it's updated at appropriate points.

Re: how to get list items

by raybeau528 » Wed Mar 11, 2009 2:54 am

Code: Select all

Dim oTrackList : Set oTrackList = SDB.AllVisibleSongList

Dim i

For i = 0 to oTrackList.Count-1
   msgbox(oTrackLlist.Item(i).title) ' do something here with SDB.Songdata elements
Next

how to get list items

by wolfram.brod » Tue Mar 10, 2009 2:53 pm

In MM the user may select which data ist shown in the current list (e.g. interpret, album, filename, BPM, ..)
How can I read in my VBscript what data is currently shown in the list?

Thanks for your help
wolfram

Top