Jump to content
Sign in to follow this  

IE : drop down list reading issue ...

Recommended Posts


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 !



Share this post

Link to post
Share on other sites

#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 !


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.