Yogi Yang Posted June 26, 2004 Posted June 26, 2004 Is it possible to send keystrokes to target apps without firing the keydown event in target app?
pekster Posted June 26, 2004 Posted June 26, 2004 (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 June 26, 2004 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.
Yogi Yang Posted June 26, 2004 Author Posted June 26, 2004 Thanks for the Advise. I will try and see if it works as u have suggested.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now