ISDBSongData::Lyrics

From MediaMonkey Wiki
Revision as of 02:49, 22 April 2008 by MoDementia (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let Lyrics As String


Property description

Lyrics
Scripting Object SDBSongData
Value Name Lyrics
Value Type String
Database Table Songs
Field Name Lyrics
Field Type Text
Tracklist Column Lyrics

Example Code

Complete script

Sub

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