ISDBSongData::RenameByMask

From MediaMonkey Wiki
Revision as of 20:38, 7 May 2007 by Steegy (talk | contribs) (added example and completed parameter description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CoClass SDBSongData, Interface ISDBSongData

Function RenameByMask(Mask As String) As Boolean


Parameters

Name Type Description
Mask String Mask that specifies how to rename the track's filename. It must be in a compiled form, use ISDBTools::Mask2UFText and ISDBTools::UFText2Mask functions in order to convert between the internal and user friendly forms of masks.


Method description

Renames track using Mask.

Example code

SD.RenameByMask("%A - %S")    ' Renames the file using the "<Artist> - <Title>" format

' SD represents a SongData object