FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

Browse files, Enqueue in Winamp

 
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows
View previous topic :: View next topic  
Author Message
hcatz
Newbie


Joined: 24 Mar 2006
Posts: 1

PostPosted: Fri Mar 24, 2006 9:59 pm    Post subject: Browse files, Enqueue in Winamp Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Salling Software Forums Forum Index -> Scripting Salling Clicker for Windows All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group