culeu Posted May 20, 2011 Share Posted May 20, 2011 I want management IE not activeWhen it have popup I not send enter key or click to IE not active.Although I using with both ControlSend and ControlClick.(Msg have only OK button and alway focus)Class and Instance I get from Au3Info for popup.Not exist popup: both ControlSend and ControlClick return 0 => Not exist popupExist popup both ControlSend and ControlClick return 1 => Exist popup, Although popup not close on IESource code------------ControlSend("[CLASS:#32770; Title:Message from IE]","","[CLASS:Button; INSTANCE:1;]","{ENTER}")OrControlSend("[CLASS:#32770; Title:Message from IE]","","","{ENTER}")OrControlClick("[CLASS:#32770; Title:Message from IE]", "", "[CLASS:Button; TEXT:OK; Instance:1;]")----------Pls. Help me! Link to comment Share on other sites More sharing options...
kaotkbliss Posted May 20, 2011 Share Posted May 20, 2011 Wrong Forum. Try General Help & Support. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 20, 2011 Moderators Share Posted May 20, 2011 Moved to support forum Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
culeu Posted May 20, 2011 Author Share Posted May 20, 2011 Moved to support forumThanks! Link to comment Share on other sites More sharing options...
culeu Posted May 20, 2011 Author Share Posted May 20, 2011 I try using source code : -------- $hwnd = WinGetHandle("[ Title:Message from IE]") _WinAPI_PostMessage($hWnd, 0x100, 0x0D , 0 ) -------- It can't close popup. Pls, help me! 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