Jump to content

Automation with Window Controls


Recommended Posts

Hi,

I'm having a problem with automating a specific program.  Before, I've been doing this:

Send("Input")

But I also want to send input when the window is inactive or minimized.  So I found this:

ControlSend("Application Name","","[CLASS:CLASSNAME]","Input")

Works fine for notepad.  However, the AutoIt Window Spy Tool doesn't give any control info. If I use ControlSend without controlID info then it only works when the window is active.  What can I do if there is no control info?

Edited by Keithw
Link to comment
Share on other sites

Ideas are not that difficult ;-) but guessing what kind of application makes life difficult.

1. Do not minimize

2. Maximize and move it to second screen or 2nd desktop or virtual screendriver

3. Move window to corner so although window is there you can set values

4. Run it in a minimized virtual pc

Making screenshots of minimized windows is impossible unless the AUT has functions for it to print on a devicecontext.

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...