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

who is the parent of an msgbox?

$
0
0
Hello to You that are reading this,

With the WinExists() function I check if a windows (an msgbox in my case) with a specified text title appear on the screen, and when it does, I simply close it.

Select
Case WinExists(" Reset ok", "The reset command was executed on remote client")
WinClose(" Reset ok")
Case WinExists("client not online", "The client was unreachable")
WinClose("client not online")
EndSelect


well, is it there a way to know the handle of the executable who opened that window? (an msgbox on my case).

Thanks on advance.

Viewing all articles
Browse latest Browse all 12506

Trending Articles



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