Angelo55 Posted February 13, 2009 Share Posted February 13, 2009 Hi all, I am facing the issue to grab on a Internet Explore existing web page. I would like to know how to get the content (or just the current content) or text visible in a drop down list found into my web page. I would also scroll it down or up of one position and again get the new available content of it. It could be great haveing the entire list of element in a shot, haveing the possibility to understand the number of total elements. I do not know the size of the drop down list : I just need to get the current content, match against a string I got as input to my automation, and set the element found if matched ... Some thing for a combobox ... Is it too difficult ?? Hi all and tnx for helping ! Angelo55 =================================================================== Link to comment Share on other sites More sharing options...
Authenticity Posted February 13, 2009 Share Posted February 13, 2009 #include <IE.au3> #include <Array.au3> Dim $sURL = 'http://www.peterlang.com/Index.cfm?vSiteName=JournalsDetails.cfm&vJournal=93500&vLang=E' Dim $oIE = _IECreate($sURL) Dim $oTag = _IETagNameGetCollection($oIE, 'select', 1) Dim $Arr = StringRegExp($oTag.InnerText, '([^ ]* )', 3) If IsArray($Arr) Then _ArrayDisplay($Arr) Link to comment Share on other sites More sharing options...
Angelo55 Posted February 14, 2009 Author Share Posted February 14, 2009 #include <IE.au3> #include <Array.au3> Dim $sURL = 'http://www.peterlang.com/Index.cfm?vSiteName=JournalsDetails.cfm&vJournal=93500&vLang=E' Dim $oIE = _IECreate($sURL) Dim $oTag = _IETagNameGetCollection($oIE, 'select', 1) Dim $Arr = StringRegExp($oTag.InnerText, '([^ ]* )', 3) If IsArray($Arr) Then _ArrayDisplay($Arr) Thank you very much... This is my first attempt to manage IE forms rather windows applications .. Bye ! Angelo55 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