Sign in to follow this  
Followers 0
Elku

ControlSend does not work if window isn't active

3 posts in this topic

Hi,

Basically, I am trying to create a small script that will send one string of text to a minimized window. I've done this before on another software, and it worked great, but for this one, nothing happens unless I have the windows currently active. ControlSend won't send the string in any other windows, which is great, but it also won't do anything unless I have the window active, and I simply don't get it.

When using controlsend, in the first parameter I entered the exact name as it shows up in the task manager. For the test parameter I entered nothing (""). For the controlID parameter I entered the same "" (As far as I can tell, there is no controlID that I can retreive from the AU Window Info tool.). I then entered my string and for the last one, I set it to default.

Thanks.

Share this post


Link to post
Share on other sites



As Melba said in the other thread=

...

As for the ControlSend problem, some apps need to be the active window before the Control* functions work - and some controls even need focus. I fear your app is one of those. :unsure:

M23

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