in reply to Re: Re: loading a file in winamp using perl
in thread loading a file in winamp using perl

It sounds like I have just the code you're looking for. Unfortunately it's: (a) Not finished and (b) Stored on my laptop meaning it'll take me a little while to find it.

It uses Win32::API to send calls directly to the Winamp window. It only works with Winamp 2. I'll post it here once I get my laptop out and remember where I've stored it.

--
Grant me the wisdom to shut my mouth when I don't know what I'm talking about.

  • Comment on Re^3: loading a file in winamp using perl

Replies are listed 'Best First'.
Re: Re^3: loading a file in winamp using perl
by joker0927 (Novice) on May 21, 2003 at 15:50 UTC
    Hey that would be great. It just so happens I'm using Winamp 2. I appreciate any help I can get on this, even if the script isn't finished.

      In order to start Winamp you have to execute it manually with exec() or system() anyway so in the meantime you can probably achieve what you're looking for (though in a less elegant way) by setting the "Enqueue as default action" option in Winamp and calling winamp.exe <mp3 file> in an exec or system call.

      --
      Grant me the wisdom to shut my mouth when I don't know what I'm talking about.