Jump to content

ControlSend does not work if window isn't active


Elku
 Share

Recommended Posts

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.

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...