hcatz Newbie
Joined: 24 Mar 2006 Posts: 1
|
Posted: Fri Mar 24, 2006 9:59 pm Post subject: Browse files, Enqueue in Winamp |
|
|
Hello,
To begin sorry for my bad english.
How can I make to browse my mp3s and add them in the winamp's current playlist? (there is this option in the windows contextual menu)
I don't know to use programmation langage.
I Have open the bs player open movie script, and changed the files extensions at the end in "mp3, ogg...".
"
I also have mofidified it :
i[color=green]f( fso.FileExists( newPath ) ) {
// Selected a file
var wsh = new ActiveXObject('WScript.Shell');
var WinampPath = wsh.RegRead("HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\Winamp.File\\shell\\Enqueue\\command\\");
if( WinampPath != null ) {
new ActiveXObject("Shell.Application").ShellExecute( WinampPath, "\"" + newPath + "\"" );
theTerminal.PopTo( "Winamp" );
}
return false;
} else {[/color]
...but it don't work. Windows don't found the path "C:\Program Files\Winamp\Winamp.exe" /ADD "%1".
How can I make???
thanks |
|