Mastiff
October 13th, 2002, 12:55 PM
Hi!
I would like to open a playlist directly (via the Playlist opener) without using the method
c:\program files\winamp\winamp.exe c:\playlists\234.mpu
The problem with this approach is that it opens a new instance of winamp if one is already running, and I can't disallow multiple instances since I use one (winamp.exe in the mentioned directory) for my bedroom, via one sound card, and another one (c:\program files\winampbad\winampbad.exe) for my bathroom. I've also tried to close down Winamp first and then opening the list, the problem is that it sometimes makes it loose the sound card assignement, so it starts playing via default soundcard. And believe me, suddenly start playing my death/black/speed metal for my wife when she's having a nice, warm bath and listening to Celine Dion is something that can scare even the devin the black metal bands keeps shouting about! :evil:
So what I want is an automated way of using the playlist number in the register to open the file in an already running copy of winamp. I'm sure it's possible, perhaps via the Winamp exported group's open file command and pasting the reg value to the box it will open. But how?
Thanks a lot in advance, guys!
I would like to open a playlist directly (via the Playlist opener) without using the method
c:\program files\winamp\winamp.exe c:\playlists\234.mpu
The problem with this approach is that it opens a new instance of winamp if one is already running, and I can't disallow multiple instances since I use one (winamp.exe in the mentioned directory) for my bedroom, via one sound card, and another one (c:\program files\winampbad\winampbad.exe) for my bathroom. I've also tried to close down Winamp first and then opening the list, the problem is that it sometimes makes it loose the sound card assignement, so it starts playing via default soundcard. And believe me, suddenly start playing my death/black/speed metal for my wife when she's having a nice, warm bath and listening to Celine Dion is something that can scare even the devin the black metal bands keeps shouting about! :evil:
So what I want is an automated way of using the playlist number in the register to open the file in an already running copy of winamp. I'm sure it's possible, perhaps via the Winamp exported group's open file command and pasting the reg value to the box it will open. But how?
Thanks a lot in advance, guys!