From MediaMonkey Wiki
Revision as of 01:47, 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 Tempo As String

Property description

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

Example Code

Complete script


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