Jump to content

Recommended Posts

Posted

Hi,

I'm trying to figure out how to manipulate dropdown menus in IE. I'm looking into reading and selecting specific values. I've looked at IE.au3 but I can't seem to figure out which function to use. Is IE.au3 the answer or is there something else that would be better to use?

  • Moderators
Posted

I believe this is what you are looking for:

_IEFormElementOptionGetCount()
    Get count of Options within a Select drop-down form element
    
    _IEFormElementGetValue()
    Get the value of a specifid form element
    
    _IEFormElementSetValue()
    Set the value of a specified form element

If you need more help it would be helpful to see the webpage or some source code.

Posted

I believe this is what you are looking for:

_IEFormElementOptionGetCount()
    Get count of Options within a Select drop-down form element
    
    _IEFormElementGetValue()
    Get the value of a specifid form element
    
    _IEFormElementSetValue()
    Set the value of a specified form element

If you need more help it would be helpful to see the webpage or some source code.

Exactly right. what you want to do is the IEFormElementSetValue() with the value of the selection that you want. the value is not always the same as the text that is displayed, you have to actually check the source of the web page, and find the value for the selection that you want.

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
×
×
  • Create New...