Sign in to follow this  
Followers 0
Eaxo

Sending keystrokes to a non active window?

2 posts in this topic

I have done it before but cant now because i cant remember the code for it :P

For ex.

I want to write Hello World in a non active notepad window

I tryed to use this code but no success :(

If winwaitnonactive ("Untitled") then
 send ("Hello{space}World{!}")
endif

Share this post


Link to post
Share on other sites



I took this from the help file:

ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")

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