Jump to content

Using windows messages listerning to remote control


Recommended Posts

Hi all,

I hope some one can help me out. I want to listen to a particular process that is currently loaded in memory. The process that I want to listen to is a tv remote control device prgram that responds to button clicks on a remote. My challenge is some how listen to the button clicks and redirect them to another app.

I want to be able to listen to the windows messages coming from the remote control program, something like this

procedure TSomeThing_Control.WndProc(var Message: TMessage);

begin

if (Message.Msg >= WM_USER) and (Message.Msg < $8000) then

....

...;

inherited;

end;

How would I write this in AuoIt script? I'm assuming i would use GUIRegisterMsg but I have no idea how to listen to message from a specific process?

Thanks for your help

D

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...