Re: Controlling WinAMP (WM_COPYDATA problem)

2005-07-01 Thread TZOTZIOY
On 30 Jun 2005 11:48:31 -0700, rumours say that "The Collector" <[EMAIL PROTECTED]> might have written: >Hi, > >I've been looking for almost two full days now to get full control of >WinAMP using python. Simple play/stop functions are no problem. It's >the WM_COPYDATA that's used by IPC_PLAYFILE (

Re: Controlling WinAMP (WM_COPYDATA problem)

2005-06-30 Thread The Collector
Hi, i changed the code to this: -- from win32gui import FindWindow from win32api import SendMessage import struct import array hWnd = FindWindow('Winamp v1.x', None) def packData( dwData, item ): global cds, lpData lpData = array.array('c', item) lpData

Re: Controlling WinAMP (WM_COPYDATA problem)

2005-06-30 Thread Thomas Heller
"The Collector" <[EMAIL PROTECTED]> writes: > Hi, > > I've been looking for almost two full days now to get full control of > WinAMP using python. Simple play/stop functions are no problem. It's > the WM_COPYDATA that's used by IPC_PLAYFILE (=add a file to the > playlist) that's giving me troubles

Controlling WinAMP (WM_COPYDATA problem)

2005-06-30 Thread The Collector
Hi, I've been looking for almost two full days now to get full control of WinAMP using python. Simple play/stop functions are no problem. It's the WM_COPYDATA that's used by IPC_PLAYFILE (=add a file to the playlist) that's giving me troubles big time! My latest test code: ---