SlowCoder74 Posted September 16, 2013 Share Posted September 16, 2013 Is there a way to determine which GUI/window hWnd was the last opened in an AutoIT project, other than checking which window is topmost? Link to comment Share on other sites More sharing options...
Bowmore Posted September 16, 2013 Share Posted September 16, 2013 I'm not sure exactly what you mean by "last opened" but possibly$hWnd = GUICreate("Test") or$hWnd = WinGetHandle(("[ACTIVE]") "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook Link to comment Share on other sites More sharing options...
michaelslamet Posted September 17, 2013 Share Posted September 17, 2013 $hWnd = WinGetHandle("[LAST]", "") ?? 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