Robo Posted January 25, 2011 Share Posted January 25, 2011 I have something like "misunderstanding" of what is happening with it. I have some opened windows in GoogleChrome. It consists of some Flash animations on it (3-5 flash apps on one page). I need to scroll some of them. And then activate. And then use AutoItSetOption ("MouseCoordMode", 2) to navigate through chhosed ones. Here starts something strange. I use the command WinActivate ("[CLASS:NativeWindowClass; W:230, H:230]") But it activates and retuns the 'Handle' not for the needed window, but fot the main window - the page where this is located... BUT!!!! If I just press Alt+tab to swich to another application. And then execute my script: WinActivate ("[CLASS:NativeWindowClass; W:230, H:230]") It somehow finds the EXACT "flash window" located on non active and even non visible page... finds it inside the site... activates... and gives me the EXACT correct coords and handle. Wau!!! BUT!!!!!!! If I Alt+tab to that page, make it visible and then run my command - it starts activating the wrong page element... Please advice. 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