Dim Mask : Mask = "<Artist>%<Year>%<Album>" 'mask for artist albums
Dim TrackMask : TrackMask = "" 'blank mask means no tracks are displayed
Dim CompMask : CompMask = "<Artist>%<Year>%<Album>" 'mask for compilation albums
Dim FirstMask : FirstMask = "" 'mask for first track in an album
Dim list : Set list = SDB.CurrentSongList
If list.Count = 0 Then
Call SDB.MessageBox( SDB.Localize("Please select tracks to be exported."), mtError, Array(mbOk))
Dim fso : Set fso = SDB.Tools.FileSystem
Dim path : path = "D:\Temp\Albums.txt"
trixmoto wrote:I don't know what to say really, if you've specified the date with a 4 digit year then this should definitely be working, because that's what I always do. If I gave you some SQL to run, would you know how to?
Musikkius wrote:They all returns the value 0 into the variable "theyear", resulting in ???? as the date in the text-file.
(...) If so, any suggestions on why it doesn`t work on my machines?
You might need to change the mask variables at the top of the script to include the fields you wish to be displayed.
Users browsing this forum: Exabot [Bot] and 15 guests