bobrianto Posted September 19, 2006 Share Posted September 19, 2006 (edited) hi... when i click certain link on the web, it load the page with window alert. for example, title: ms ie text: you have blablabla button: ok i checked with autinfo tool, and the button return classname "Button1" using this ControlClick("Microsoft Internet Explorer", "You have?", "Button1") however the window won't respond whether the parent ie window focused or not. the script hangs there waiting for the button to be clicked. i tried controlfocus before controlclick and it still doesn't work. is there any other way to do this? if there is already thread about this, please paste the links. thanx in advance. Edited September 19, 2006 by bobrianto Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 19, 2006 Moderators Share Posted September 19, 2006 For automating IE look at _IE* functions in the help file.... 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...
bobrianto Posted September 19, 2006 Author Share Posted September 19, 2006 thanx for the reply. however, afaik (still new) ie.au3 only handle with webpage itself(???) however, what i tried to click is IE child(msgbox) window. i dont know if ie.au3 can handle this type of operation. If possible, can you please tell me the function? Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted September 19, 2006 Moderators Share Posted September 19, 2006 thanx for the reply. however, afaik (still new) ie.au3 only handle with webpage itself(???)however, what i tried to click is IE child(msgbox) window. i dont know if ie.au3 can handle this type of operation. If possible, can you please tell me the function?Haven't a clue, haven't used it myself, have you bothered to go through the functions themselves? And IE.au3 is not as new as you make it out to be, it's been around for some time.Also with your control click, again, I don't use internet explorer so I don't know, are you using the text of the window in the text box or the text of the button? 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...
MHz Posted September 19, 2006 Share Posted September 19, 2006 title: ms ie <> Microsoft Internet Explorer text: you have blablabla <> You have? What is the correct text? Link to comment Share on other sites More sharing options...
bobrianto Posted September 19, 2006 Author Share Posted September 19, 2006 (edited) Ah, sorry. title: Microsoft Internet Explorer text: You have gain 1 strength button: Ok after click ok only then the script can continue. @smoke : i mean i am new =p not the udf Edited September 19, 2006 by bobrianto Link to comment Share on other sites More sharing options...
MHz Posted September 19, 2006 Share Posted September 19, 2006 So, this looks better ControlClick("Microsoft Internet Explorer", "You have", "Button1") 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