Jump to content
Sign in to follow this  
matbriseb

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

Recommended Posts

matbriseb

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
big_daddy

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  

×