sonicc

ControlSend() focus problem

4 posts in this topic

I have two windows. I want to control first window with my real mouse and keyboard, and at the same time I want to send keystrokes to second window. 

It all works fine while second windows is in focus, but that window lose focus keystrokes are not sent.

Is it possible to work without focus?

Share this post


Link to post
Share on other sites



No.  Not with ControlSend.  Use ControlSetText instead.


IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I don't want to send only letters, I want to send {tab} and {enter}

Is there any solution?

Edited by sonicc

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