modernes Posted March 6, 2006 Share Posted March 6, 2006 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? Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted March 6, 2006 Moderators Share Posted March 6, 2006 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. Link to comment Share on other sites More sharing options...
seandisanti Posted March 6, 2006 Share Posted March 6, 2006 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. 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