sharkys Posted December 9, 2008 Share Posted December 9, 2008 (edited) Guys, I spent already two days on help file for IE.AU3 and also on searching of this forum, however I did not find what I need. I`m not able to send CLICK action to INPUT field, that IS NOT part of form... however already another form is present on the same page. _IETagNameGetCollection is automatically focusing on this FORM ellements ignoring everything else outside it. I`m really confused, I will really appreciate advice from "gurus"....please $oIE = _IEAttach ("Expertise Management | Add") $oInputs = _IETagNameGetCollection($oIE, "input") For $oInput In $oInputs If $oInput.type = "submit" Then _IEAction($oInput, "click") EndIf Next Results from DebugBar <DIV><SPAN class=tskval style="FLOAT: right"><SPAN class=button-blue> <INPUT onkeypress="addBulkSkillmaps('IMAP/POP3 Protocol ','normal','English')" type=button value="Add selected skill(s)" cM1="1" cM2="12" cM3></SPAN></SPAN> </DIV> Code from HTML editor ;-) <div> <span style="float: right;" class="tskval"><span class="button-blue"><input onkeypress="addBulkSkillmaps('IMAP/POP3 Prot','normal','English')" onclick="addBulkSkillmaps('IMAP/POP3 Prot','normal','English')" value="Add selected skill(s)" type="button"></span></span></div> Edited December 9, 2008 by sharkys Link to comment Share on other sites More sharing options...
sharkys Posted December 9, 2008 Author Share Posted December 9, 2008 Ufff...finally I found solution.... $oInputs = _IETagNameGetCollection($oIE, "input") For $oInput In $oInputs If string($oInput.value) = "Add selected skill(s)" Then _IEAction($oInput, "click") ; exit because there are two... Exit EndIf Next Link to comment Share on other sites More sharing options...
Valuater Posted December 9, 2008 Share Posted December 9, 2008 Ufff...finally I found solution.......Good effort, only 19 minutes ( took me a lot longer to learn stuff)Welcome to the Autoit Forums... 8) 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