'Hal will play a playlist of music from the defined playlist folder when the user 'requests a specific playlist. If Priority = 0 And InStr(UserSentence, " PLAY ") > 0 And InStr(UserSentence, " PLAYLIST ") > 0 And InStr(UserSentence, " DON'T ") = 0 Then Set oWMP = CreateObject("WMPlayer.OCX.7") 'Set the following variable to your playlist directory. plDir = "C:\Documents and Settings\Enter Your Username Here\My Documents\My Music\My Playlists\" plName = Trim(Mid(UserSentence, InStr(UserSentence, " PLAYLIST ") + 10)) If oWMP.playlistCollection.getByName(plName).Count > 0 Then oWMP.openPlayer (plDir & plName & ".wpl") GetResponse = "I will play the playlist (" & plName & ")" Else GetResponse = "I could not find the playlist (" & plName & ") in your Media Library." End If End If