beginner85 Posted October 28, 2009 Share Posted October 28, 2009 (edited) <html> <head> <title></title> <div id="main"> <h1>Buy package</h1> <div id="get_package"> <form> <select name="package_selector" id="package_selector"> <option value="0">Select a Package</option> <option value="49">Get 1</option> <option value="50">Get 2</option> <option value="51">Get 3</option> <option value="52">Get 4</option> <option value="53">Get 5</option> <option value="54">Get 6</option> </select> </form> </div> ............... I want to choose Get 6, so i use this code $oForm3= _IEFormGetCollection ($oIE3, 0) $oGet6 = _IEFormGetObjByName ($oForm3, "package_selector") _IEFormElementOptionselect ($oGet6 , "54", 1, "byValue" ) It doesn't work, i don't know why. I'm just a beginner in AutoIT , plz help me Edited October 28, 2009 by beginner85 Link to comment Share on other sites More sharing options...
exodius Posted October 28, 2009 Share Posted October 28, 2009 You want to use _IEFormElementGetObjByName instead of _IEFormGetObjByName. 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