Need Help Sending Post Message( WParam LParam)

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Need Help Sending Post Message( WParam LParam)

Re: Need Help Sending Post Message( WParam LParam)

by Melloware » Thu Jan 14, 2010 8:33 am

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

http://www.intelliremote.com

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.

Need Help Sending Post Message( WParam LParam)

by MarquisEXB » Wed Jan 13, 2010 1:20 pm

I'm trying to send a post message from HIP (byremote.au) 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 http://www.codeproject.com/KB/stl/Winam ... 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
#NoTrayIcon
DetectHiddenWindows, On
IfWinExist, ahk_class TFMainWindow
{
	ControlSend, ahk_parent, ^+{down}
	;msgbox Exist
} else {
	;msgbox NotExist
}

Top