From MediaMonkey Wiki
Revision as of 00:45, 8 May 2008 by MoDementia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let PlaylistOrder As Long

Property description

Scripting Object SDBSongData
Value Name PlaylistOrder
Value Type Value
Database Table PlaylistSongs
Field Name SongOrder
Field Type Integer
Tracklist Column Title
Example Data 7. Waterloo

Example Code

Complete script


  For iCounter = 0 to objSongList.count - 1                                    'SongLists
      Set objSongData = objSongList.Item(iCounter)
      ValuePlaylistOrder = objSongData.PlaylistOrder
      SDB.MessageBox "Value = '" &  ValuePlaylistOrder & "'", mtError, Array(mbOK)    'SDB.MessageBox
' objSongData.PlaylistOrder = ValueNewPlaylistOrder 'Commented Out For Safety
' objSonglist.UpdateAll              'Commented Out For Safety                 'UpdateAll
                         Updates db and writes tags (if checked in options)
End Sub