Glyph Posted December 19, 2006 Share Posted December 19, 2006 Heres what i've tried... with no luck Any ideas? While 1 If WinGetState ( "Diablo II") = 0 Then msgbox (0,"Closed", "You have closed the game!") EndIf WEnd tolle indicium Link to comment Share on other sites More sharing options...
xcal Posted December 19, 2006 Share Posted December 19, 2006 while 1 if not winexist('whatever window') then msgbox(0, '', 'closed') wend How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
Paulie Posted December 19, 2006 Share Posted December 19, 2006 (edited) While 1 If Not WinExists( "Diablo II") Then Msgbox (0,"Closed", "You have closed the game!") EndIf WEnd Not successful? Edited December 19, 2006 by Paulie Link to comment Share on other sites More sharing options...
Glyph Posted December 19, 2006 Author Share Posted December 19, 2006 Perfect!, thank you! tolle indicium 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