Sign in to follow this  
Followers 0
matbriseb

IE.au3 get the list of a dropdown list using _IEFormElementGetValue()

2 posts in this topic

Is it possbile with IE.au3 T2 to use _IEFormElementGetValue() to get all value avalaible on a dropdown list?

Or maybe there is another command that can do that??

Thanks!

Share this post


Link to post
Share on other sites



Is it possbile with IE.au3 T2 to use _IEFormElementGetValue() to get all value avalaible on a dropdown list?

Or maybe there is another command that can do that??

Thanks!

; $oSelect needs to reference the select option box
$oItems = $oSelect.options
$sText = ""
For $oItem In $oItems
    $sText &= $oItem.text & @LF
Next
MsgBox(0, "", $sText)

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  
Followers 0