From: Evan G. <ev...@mn...> - 2001-06-02 07:17:11
|
On 1 Jun 2001, at 19:52, Bruce Winter wrote: > Sounds like the Win32::GUI FindWindow and SendMessage commands are better > (or maybe simply different) than the setupsup SendKeys et. all commands we > currently have? While I was digging around the Winamp developers site I ran across the following information: http://www.winamp.com/nsdn/winamp2x/dev/sdk/api.jhtml There are a number of numerical commands that can be sent using windows messages that provide substantial control (and querying) capability. I'm not very familar with the SendKeys command so I can't really say if they accomplish the same thing or not. I am currently putting together the subroutines that will allow access to these commands in a format like: winamp('command', 'data'); I've demonstrated the basic communication with the Winamp program so far. When I get the subroutines put together (more) properly I will post it for those who are interested. > How does it allow you to have winamp tell you when it is > switching to the next song? There is a command to query the position in the playlist that should do this. Also there is a command that returns the status of the playback: paused, playing, or stopped. Evan |