Jump to content

winwaitactive not working on a window inside of another window


Recommended Posts

I am trying to do winwaitactive inside of another window that pops up inside of the other window. I am trying to auto answer calls that I receive on dialpad. winwait active doesn't work on windows inside of another window. Is there anything I can do, to do this another way? I have been searching the help files for days. Can someone please help?

while 1
   winwaitactive("dialpad")
winwaitactive("Incoming call")
sleep(1000)
send("{enter}")
 wend

 

Link to comment
Share on other sites

It basically starts by what can au3inf see/highlight

if window is not seen you quickly come to UIA automation / UIASpy / SimpleSpy

If UIA is not seeing it you boil down to pixelgetgolor, pixelchecksum, bitblt, ocr related functions

If it doesn't work thru UI then maybe the application has an API that can be used

All differ in complexity so more details on what you want to achieve can help to guide better

see faq 31 and 40 for some references

 

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