SFWUser Posted February 2, 2007 Share Posted February 2, 2007 I dont have a open window and dont have a hide window, but the message of my script always appears. My script: If WinExists('Control') Then MsgBox(0, "Test", "Control Window is open.") Exit EndIf Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted February 2, 2007 Moderators Share Posted February 2, 2007 (edited) Run this to see what it is:Local $aWL = WinList(), $aPL = ProcessList(), $sHold For $iCC = 1 To UBound($aWL) -1 If StringInStr($aWL[$iCC][0], 'Control') Then For $xCC = 1 To UBound($aPL) -1 If WinGetProcess($aWL[$iCC][1]) = $aPL[$xCC][1] Then $sHold &= 'Process: ' & $aPL[$xCC][0] & @CRLF & 'Window: ' & $aWL[$iCC][0] & @CRLF & @CRLF ExitLoop EndIf Next EndIf Next $sHold = StringTrimRight($sHold, 4) MsgBox(64, 'Info', $sHold)Edit: Just realized how slow it was... Sped it up a tad. Edited February 2, 2007 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
SFWUser Posted February 2, 2007 Author Share Posted February 2, 2007 tanks SmOke_N I´ll use your code to test and identify the "secret" windows ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now