ISDBSongData::Bookmark: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{MethodDeclaration|SDBSongData|ISDBSongData|Property Get/Let Bookmark As | {{MethodDeclaration|SDBSongData|ISDBSongData|Property Get/Let Bookmark As Long}} | ||
===Property description=== | ===Property description=== | ||
Sets/Gets bookmark time (in milliseconds) for bookmarkable tracks (like podcasts and audiobooks). | |||
To find out whether a track is bookmarkable use [[ISDBSongData::isBookmarkable]] property. | |||
{{Property Summary|SongData|Bookmark|Value|Songs|PlaybackPos|Integer|||}} | |||
[[Category:Scripting|{{PAGENAME}}]] | [[Category:Scripting|{{PAGENAME}}]] |
Latest revision as of 14:46, 12 January 2010
CoClass SDBSongData, Interface ISDBSongData
Property Get/Let Bookmark As Long
Property description
Sets/Gets bookmark time (in milliseconds) for bookmarkable tracks (like podcasts and audiobooks).
To find out whether a track is bookmarkable use ISDBSongData::isBookmarkable property.
Scripting Object | SDBSongData |
Value Name | Bookmark |
Value Type | Value |
Database Table | Songs |
Field Name | PlaybackPos |
Field Type | Integer |
Example Code
Sub For iCounter = 0 to objSongList.count - 1 'SongLists Set objSongData = objSongList.Item(iCounter) ValueBookmark = objSongData.Bookmark SDB.MessageBox "Value = '" & ValueBookmark & "'", mtError, Array(mbOK) 'SDB.MessageBox Next ' objSongData.Bookmark = ValueNewBookmark 'Commented Out For Safety ' objSonglist.UpdateAll 'Commented Out For Safety 'UpdateAll Updates db and writes tags (if checked in options) End Sub