Ebola57 Posted August 27, 2013 Share Posted August 27, 2013 Hi I would like to know if it is possible to handle the expansion of a minimized window that expands just after a click I intend to do a graphic test after having selecting it, but code is too fast and window isn't yet ready WinGetPos() fails because it returns definitive coordinates I also tried to get relevant information with WinAPI_GetWindowLong, but nothing looks interesting Link to comment Share on other sites More sharing options...
JohnOne Posted August 27, 2013 Share Posted August 27, 2013 Sleep(n) maybe. How long does the window take to become ready for your needs? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
Ebola57 Posted August 27, 2013 Author Share Posted August 27, 2013 It's about 100 to 500 ms, but depends on the PC power. This script have to run on a several PC that have very heteregon power Moreover this action is repetitive, and i would like to save to the maximum time without having to add a not optimized Sleep() Link to comment Share on other sites More sharing options...
JohnOne Posted August 27, 2013 Share Posted August 27, 2013 So perhaps you should test a pixel or a checksum against part of the window where it is supposed to be from WinGetPos() function. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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