Sign in to follow this  
Followers 0
Keithw

Automation with Window Controls

3 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

4 hours ago, Keithw said:

What can I do if there is no control info?

Without more info's nothing, maybe with some more info's @junkew has an idea.

Edited by AutoBert
1 person likes this

Share this post


Link to post
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.

1 person likes this

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