Currently I have a script that goes like this:
open "C:\My Music\Music File by Whatever.mp3"
And this opens Winamp and let's it play my music file. But when I create a new script with a different filename, the script launches the new song in the same Winamp instance. I would like Winamp to open a SEPARATE instance in order to play a different song..as I've checked the option "open in multiple instances". Is there a way to get the script I have to make Winamp launch a new instance when playing songs?
Thanks.
How to make Winamp launch a new instance using Script?
-
DorothyFan1
- Posts: 104
- Joined: 10 Jul 2009 15:51
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: How to make Winamp launch a new instance using Script?
Hi,DorothyFan1 wrote:Currently I have a script that goes like this:
open "C:\My Music\Music File by Whatever.mp3"
And this opens Winamp and let's it play my music file. But when I create a new script with a different filename, the script launches the new song in the same Winamp instance. I would like Winamp to open a SEPARATE instance in order to play a different song..as I've checked the option "open in multiple instances". Is there a way to get the script I have to make Winamp launch a new instance when playing songs?
Thanks.
Maybe you can use openwith command instead.
First try:
openwith """C:\path\to\winamp\winamp.exe"" "C:\My Music\Music File by Whatever.mp3"",m;
or for any selected mp3 use <curitem>
openwith """C:\path\to\winamp\winamp.exe"" <curitem>",m;
IF above does not work, winamp allows command switch /NEW so try:
open """C:\path\to\winamp\winamp.exe"" /NEW "C:\My Music\Music File by Whatever.mp3";
I dont have winamp, so these are not tested.
-
DorothyFan1
- Posts: 104
- Joined: 10 Jul 2009 15:51
Re: How to make Winamp launch a new instance using Script?
I've tried these and they don't work. There's got to be a solution to this.
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: How to make Winamp launch a new instance using Script?
OK, maybe try this then:DorothyFan1 wrote:I've tried these and they don't work. There's got to be a solution to this.
run """C:\path\to\winamp\winamp.exe"" /NEW ""<curitem>""";
-
DorothyFan1
- Posts: 104
- Joined: 10 Jul 2009 15:51
Re: How to make Winamp launch a new instance using Script?
I solved the problem by creating a new default action in the File Type in the Control Panel. Now whenever I select an MP3...it launches a new instance of Winamp. But thanks for all the suggestions.
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: How to make Winamp launch a new instance using Script?
I suggested the above after testing on portable winamp here. So atleast for me it did work.DorothyFan1 wrote:I solved the problem by creating a new default action in the File Type in the Control Panel. Now whenever I select an MP3...it launches a new instance of Winamp. But thanks for all the suggestions.
XYplorer Beta Club