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.

Help with an event

If you have a question or need help, this is the place to be.
Post Reply
TonyZi
Posts: 2
Joined: Sun Sep 02, 2007 3:51 pm

Help with an event

Post by TonyZi »

Hi!

How can I make a macro that goes something like this:

When I press Windows MCE button it disables keyboard emulation (I did this with ease) BUT after the program wouldn't be in the memory anymore it would enable keyboard emulation again automatically. I can see that there is a "find a window" and such but I need just the opposite! "when program is not on anymore, enable keyboard emulation".

Please give me an easy to understand instructions :roll:
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Help with an event

Post by Bitmonster »

The recommended way is to use the "Task Create/Switch Events" plugin and wait for the destroy (or even the deactivated) event of the application. With this event you can switch back to your general keyboard emulation context.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
TonyZi
Posts: 2
Joined: Sun Sep 02, 2007 3:51 pm

Re: Help with an event

Post by TonyZi »

thanks! got it working! is this plugin very processor/memory heavy?
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: Help with an event

Post by Bitmonster »

No. It uses a hook Windows is specially supplying for such purposes.
Finding windows (or finding their non-existence) is much more computation intensive.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
Post Reply