View Single Post
Old 15th November 2004, 20:09   #145
Lion12
Senior Member
 
Lion12's Avatar
 
Join Date: Nov 2004
Location: Germany Markings: The Cheshire Cat
Posts: 168
multi instance with activeWA

Hi out there!

I've running two instances of winamp classed as 'Instance1' and 'Instance2'. Using only the library of one instance I have to send items through the 'sendto', right?

I tried something like this:
code:

'sendto_Instance1.vbs
Dim x, WshShell

Set WshShell=CreateObject("WScript.Shell")
x = GetSendToItems

if ubound(x,1) > 0 then

for each track in x
WshShell.Run "c:\\programs\\winamp\\winamp.exe /CLASS""Instance1"" /ADD """ & track.filename & """"
next

end if
quit

(just the same with 'sendto_Instance2')

Seems not to work correctly but I can't figure out the reason.
Right way to do this, or is there a (better) internal way?
Or is it better to have two diffrent winamp installation folders?

regs
Lion12 is offline   Reply With Quote