ISDBSongData::Mood

From MediaMonkey Wiki
Revision as of 23:46, 7 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 Mood As String


Property description

Mood
Scripting Object SDBSongData
Value Name Mood
Value Type String
Database Table Songs
Field Name Mood
Field Type Text
Tracklist Column Mood
Example Data Wild

Example Code

Complete script

Sub

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