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.

Sending keys without focus

If you have a question or need help, this is the place to be.
Post Reply
iconoclast
Posts: 1
Joined: Wed Aug 19, 2009 4:55 am

Sending keys without focus

Post by iconoclast »

Hi all, I just found EG and I am really excited to learn such a flexible program.

My question:

I can send keys to notepad without actually giving notepad focus. I can't seem to do it with MCE. One of the window classes isn't even found, though it appears on the list, and the parent window doesn't seem to respond to key presses if it is even receiving them. Is there a way to send these keys without giving MCE focus? I am using Windows 7 and EG is run as administrator, and seems to work in every other case.

Or is there a better way to control MCE without keystrokes?

I searched the forum and didn't find anything. Thanks in advance for your help!

icon
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: Sending keys without focus

Post by stottle »

iconoclast wrote:Hi all, I just found EG and I am really excited to learn such a flexible program.

My question:

I can send keys to notepad without actually giving notepad focus. I can't seem to do it with MCE. One of the window classes isn't even found, though it appears on the list, and the parent window doesn't seem to respond to key presses if it is even receiving them. Is there a way to send these keys without giving MCE focus? I am using Windows 7 and EG is run as administrator, and seems to work in every other case.

Or is there a better way to control MCE without keystrokes?

I searched the forum and didn't find anything. Thanks in advance for your help!

icon
You're not providing enough information. How are you sending keys to notepad, which remote plugin are you using, and what code are you using to find an MCE window?

I don't use MCE, so I don't know the best way, but there shouldn't be a reason you can't send keystrokes, so I'm trying to help with that.

Brett
Post Reply