Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Need help with winwaitactive

$
0
0

Hi this is my first time asking for help, I usually find a solution online but this one has stumped me. I am working with a business retail software and I have noticed a very annoying feature with the software, it doesn't matter what window or tab I am on the hidden text is almost always the same because the more tabs I visit the number of hidden text items grow, which pretty much eliminates the usefulness of the text portion of winwaitactive("title", "text"). Is there a way that I can use only the visible text in identifying a window/tab? The reason I need this to work is because I have a while loop that is intended to only activate the hotkeys on the final page of the software.

 

While 1
  WinWaitActive("Retail Merchant","") ;no text here because the software in open
    While WinWaitActive("Retail Merchant","visible text")
    Call("_HotKeys")
    Sleep(200)
  WEnd
  Sleep(200)
WEnd
 
Or is there any other way of identifying a page with a unique value that doesn't change upon reloading the system or software?
 
Thank you

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>