This time I'm trying to communicate with winamp, using windows messages: I'd like to get the shuffle status, for example.
Here's what Winamp SDK gives:
Code: Select all
#define WM_WA_IPC WM_USER
// [...]
/* (requires Winamp 2.4+)
** val=SendMessage(hwnd_winamp,WM_WA_IPC,0,IPC_GET_SHUFFLE);
**
** IPC_GET_SHUFFLE returns the status of the Shuffle option (1 if set)
*/Here's my macro:
1. SendMessage( 1024, 0, 250 )
2. OSD : {eg.result}
It shows none, but I think it's normal since I did not tell EG to which window handle I want to send the message... I tried to put a Find Window: winamp.exe macro just before the Send Message macro, but it sill does not work.
What's the problem?
Thanks