Anyways, I'm having some troubles where I'm trying to put an "If then" within an "If then".
The original script had a single "If_then" statement where it stopped the script if the arguments weren't equal. I would like to add an additional "If_then" to give the user a choice between continuing or exiting.
Modified section of code:
Code: Select all
If Tracks.Count <> Int(TagListLines / MaskLines) Then
if SDB.MessageBox "Tracks Selected don't match List Lines" & Chr(13)_
& "Tracks Selected=" & Tracks.Count & Chr(13)_
&"List Lines=" & TagListLines & Chr(13)_
& "Continue Anyways?", mtConfirmation, Array(mbYes, mbNo) = mrNo Then
Exit Sub
Else
end if
End If
Code: Select all
If Tracks.Count <> Int(TagListLines / MaskLines) Then
SDB.MessageBox "Number of Lines in Tag-List and Track-List doesn't fit!", mtError, Array(mbOK)
Exit Sub
End If