From MediaMonkey Wiki
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Property Get/Let PreGap As Long

Property description

Scripting Object SDBSongData
Value Name PreGap
Value Type Value
Database Table Songs
Field Name PreGap
Field Type Integer

Example Code

Complete script


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