From MediaMonkey Wiki
Revision as of 05:46, 20 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 FileModified As Date

Property description

Tracklist Column to be confirmed Cdbl(Now)

Scripting Object SDBSongData
Value Name FileModified
Value Type Date
Database Table Songs
Field Name FileModified
Field Type Real
Tracklist Column Timestamp
Example Data 05/03/2008 1:41 PM

Example Code

Complete script


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