Question : How to enqueue a song in an open winamp player using javascript

I was wondering if anyone knows how to write a script that will load a song into the current winamp playlist opon clicking a div ?

Similar to right click in the context menu "Enqueue in winamp"   I have a script that lists all songs in a directory and want to be able to load any of them by clicking on the div that displays the CD number ( <div id='CD'> )

Any help would be appreciated.

Answer : How to enqueue a song in an open winamp player using javascript

ok i got it:
to enqueue file use the following:

w.run('"file://c:/tools/CLAmp.exe" /PLADD "c:/temp/flake.mp3"',1);

clamp.exe must precede with file://...

song file path must be between dbl quotes (" ")
and the whole thing is between single quotes (' ')



Random Solutions  
 
programming4us programming4us