Jump to content
Sign in to follow this  
Snowi

Send Key to not active window?

Recommended Posts

Snowi

Hi,

first of all, sry for my enlglish :) Doing hard with it ^^

My question: Is it possible to send a keypress to a window, that is not activated? The window should stay in background and for example the key "5" should be sent to it every 3 second, without activation this window. Should work with PID and hooking??

Thx 4 help and greez ^^

Share this post


Link to post
Share on other sites
TehWhale

ControlSend()

Check it out in the helpfile.

Share this post


Link to post
Share on other sites
Snowi

Thx for reply :)

Tried it right now, but it doesn't work. I think the problem is, that the application ill send the keystrokes to isn't a "window-program". Its a game. Is it still possible?

Share this post


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
Sign in to follow this  

×