Sign in to follow this  
Followers 0
Yogi Yang

Send Keystrokes without firing keydown event

3 posts in this topic

Is it possible to send keystrokes to target apps without firing the keydown event in target app?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

If you can get the control of the location you are trying to automate, the ControlSetText and ControlCommand functions might help out. Other than that, there's not much you can do since a global keystroke, or one using the CotrolSend command would send keystrokes, which require a key down + key up keystroke. If you just need to send the up keystroke, use Send("{a up}") where a is whatever key you wish to release (the example would release the a key.)

Minor edit

Edited by pekster

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Share this post


Link to post
Share on other sites

Thanks for the Advise. I will try and see if it works as u have suggested.

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  
Followers 0