AutoitMike Posted May 3, 2013 Share Posted May 3, 2013 I am have difficulty interacting with windows that my app opens up blank. Many times the window appears with the title in the title bar but the window is blank for several seconds. This causes a problem when the mouse moves to a spot and clicks nothing. There is no "Visible text" on this window. How can I detect that the window is not yet "Painted, filled in, finished" ? Thanks Link to comment Share on other sites More sharing options...
LurchMan Posted May 3, 2013 Share Posted May 3, 2013 Do the colors on the window change after it loads completely or do the buttons just appear? Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
mikell Posted May 3, 2013 Share Posted May 3, 2013 (edited) There is no "Visible text" on this window.So why not Do Sleep(10) Until WinGetText("test") <> "" Edited May 3, 2013 by mikell Link to comment Share on other sites More sharing options...
jdelaney Posted May 3, 2013 Share Posted May 3, 2013 Look into WinGetState, and wait for IsEnabled...It is probably still loading. IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. 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