darzanmihai Posted June 22, 2010 Posted June 22, 2010 hy, I have a question: How could I use the IE udf to select and to multi select items in a listview (or SELECT as it is called in tags). I attached a printscrit that ilustrates the listview that I have to select data from. I do not like stupid and idiot people that write idiot things...If you are one, do not write.
PsaltyDS Posted June 22, 2010 Posted June 22, 2010 Did you try _IEFormElementOptionselect()? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
darzanmihai Posted July 5, 2010 Author Posted July 5, 2010 Did you try _IEFormElementOptionselect()?It worked perfectly, but now I have another question...How could I get all the items in the listview? I do not like stupid and idiot people that write idiot things...If you are one, do not write.
darzanmihai Posted July 5, 2010 Author Posted July 5, 2010 It worked perfectly, but now I have another question...How could I get all the items in the listview? ok, I found the solution...for anybody who needs it: $Form_col = _IEFormGetObjByName ($oIE, "myForm") $Lista_obj = _IEGetObjById($Form_col, "mp") $colection = _IETagNameGetCollection ( $Lista_obj, "OPTION") Dim $lista_campuri_arr_corectat[1] For $colectionx in $colection if IsObj($colectionx) Then $camp = StringReplace(StringReplace($colectionx.innerText,"-|- Mon",""),"-|- Mar","") If $camp<>"" Then ReDim $lista_campuri_arr_corectat[UBound($lista_campuri_arr_corectat)+1] $lista_campuri_arr_corectat[UBound($lista_campuri_arr_corectat)-1]=$camp EndIf EndIf Next I do not like stupid and idiot people that write idiot things...If you are one, do not write.
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