View Single Post
Old 7th October 2005, 22:52   #312
bdmagee
Junior Member
 
Join Date: Jun 2001
Posts: 37
I hacked the sleep function by executing another VBS script:
objShell.Run "WScript.exe Delay.vbs " & iSleep,, true


Someone please explain this to me...

This code works:
sPLFolder = "I:\Music - Playlists\"
sPlayList = "test.m3u"
Set objPlayList = objWinAmp.LoadItem(sPLFolder & sPlayList)

This gives me a type mismatch error on LoadItem:
sPLFolder = "I:\Music - Playlists\"
sPlayList = "test.m3u"
sFileName = sPLFolder & sPlayList
Set objPlayList = objWinAmp.LoadItem(sFileName)
bdmagee is offline   Reply With Quote