Thursday, July 28, 2005 - Posts

Find Message of TTPlayer for use in Hoekey

Objective:

to use Hoekey to set hotkeys for TTPlayer to do actions like play/pause/prev/next.

Result:

~Z=Msg|Winamp v1.x|273|40044 ; Winamp: prev
=Msg|WMPlayerApp|793|0|786432 ; WMP - prev
=Msg|TTPlayer_PlayerWnd|273|32005 ; TTplayer - prev

~X=Msg|TTPlayer_PlayerWnd|273|32000 ; TTplayer - Play
;=Msg|Winamp v1.x|273|40045; Winamp: play
=Msg|WMPlayerApp|793|0|851968; WMP - Stop

~C=Msg|Winamp v1.x|273|40046 ; Winamp: pause
=Msg|WMPlayerApp|793|0|917504; WMP - Pause
=Msg|TTPlayer_PlayerWnd|273|32001 ; TTplayer - Pause

~V=Msg|Winamp v1.x|273|40048 ; Winamp: next
=Msg|WMPlayerApp|793|0|720896 ; WMP - next
=Msg|TTPlayer_PlayerWnd|273|32006 ; TTplayer - next

How:

Use spy++ to log message, and search for WM_COMMAND in those of type "Sent Message".

posted by wenyang with 0 Comments