Jump to content
Sign in to follow this  

Winamp API remote PC

Recommended Posts



Is it possible to send Winamp API commands to a Winamp process running on a remote PC and if so how?

I have a PC upstairs running Winamp with a list of songs queued up playing in random order and what I want to be able to do is find out the artist and track name using my laptop downstairs without having to go up to the PC or remote control it. I was trying to figure out how toconnect to the upstairs PC Winamp hwnd and then use User32.dll to send a message to request Artist - Trackname and display in a message box.

I've had a look at the AutoIT Winamp Library but this uses the Windows Handle of the process on the local pc. I've also searched to on user32.dll but the "SendMessage" parameters don't let you specify a remote PC, only a local Windows Handle.

I had also considered writing something which does query the local PC and write the info to a text file which I could then execute from the remote PC using PSEXEC. But ideally I'd like to send the message direct to the remote PC and capture the response.



Edited by NiVZ

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this