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
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:
---