Page 1 of 1

Need Help Sending Post Message( WParam LParam)

Posted: Wed Jan 13, 2010 1:20 pm
by MarquisEXB
I'm trying to send a post message from HIP ( so that I can automate using my remote control with Media Monkey. However I can't figure out the window class, wparam, lparam, etc.

I have tried sending messages (ie from ... play=Print) to TFMainWindow but to no avail, either when active or in the systray.

However, I've been able to send commands to MM by using this ahk code (this will send ctrl-shft-down to the MM window - and will work if MM is in tray only mode), although this is a poor workaround (I would have to create code/hotkey combo for each action).

Any help would be appreciated.

Code: Select all

;AHK script to send ctrl-shft-down to the MM window
DetectHiddenWindows, On
IfWinExist, ahk_class TFMainWindow
	ControlSend, ahk_parent, ^+{down}
	;msgbox Exist
} else {
	;msgbox NotExist

Re: Need Help Sending Post Message( WParam LParam)

Posted: Thu Jan 14, 2010 8:33 am
by Melloware
Which remote do you own? I have an application called Intelliremote which is similar to HIP but a little more advanced.

We have a MediaMonkey profile that ships with Intelliremote for controlling MM with your remote. Our Winamp profile uses PostMessage to control winamp but our MediaMonkey uses keyboard keystrokes like your AHK script does....

To send CTRL+SHIFT+DOWN from Intelliremote you simply map a remote button to...

Code: Select all

Send("^+{down}", 0)
It uses the same notation as AHK and AutoIt.