Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Receiving Window Messages

If you have a question or need help, this is the place to be.
Post Reply
SilentException
Posts: 12
Joined: Wed Oct 29, 2008 1:19 am

Receiving Window Messages

Post by SilentException »

Hey, can EventGhost receive (log) window messages sent to it? I have played a little but couldn't find a way..

I'm using program called SendMessage.exe to send window messages to EventGhost but the log doesn't display them (they are being sent, checked with Winspector)..

Thank you!

PS. I'm using the Beta v0.3.6.1483 on WindowsXP SP3
CollinR
Experienced User
Posts: 265
Joined: Tue Sep 05, 2006 7:16 am
Location: Oklahoma
Contact:

Re: Receiving Window Messages

Post by CollinR »

EventGhost.exe -e yourevent

becomes Main.yourevent

EventGhost.exe -n 127.0.0.1:1024 1234 yourevent

becomes TCP.yourevent

(assuming port 1024 and password 1234)
SilentException
Posts: 12
Joined: Wed Oct 29, 2008 1:19 am

Re: Receiving Window Messages

Post by SilentException »

i knew about that option but i didn't understand what it does. i thought you have to run eventghost with it and then it would register listener for that message. instead it sends a message to already running eventghost window. perfect, just what i need! excellent stuff, awesome program eg! :)
Tyborg
Posts: 26
Joined: Wed Sep 24, 2008 3:23 am

Re: Receiving Window Messages

Post by Tyborg »

Awesome just what I needed too! Thanks!
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: Receiving Window Messages

Post by Pako »

User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Receiving Window Messages

Post by Bitmonster »

It would be possible to give EG the ability to be controlled by SendMessage, but it wouldn't be very useful to only have numeric events. And to get SendMessage to work with strings the sender would need code that uses GlobalAddAtom() and this is much to complicated in most cases.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply