Viktor Posted February 7, 2008 Posted February 7, 2008 I would like to set a particular item in a drop-down control on a web page, which would trigger the page to switch to the "recent transactions" page (you probably guessed I want to download my transactions from my online banking web site). I cannot figure out how to do this. I can grab the drop-down object, as you can see in the code below, I can select it with _IEaction but I do not Know how to select the appropriate menu item (I cannot reference it, not even a DOM viewer gives me a clue). CODE$oForm = _IEGetObjByName ($oIE, "aspnetForm") $oSelect = _IEFormElementGetObjByName ($oForm, "tl00$MainPageContent$MyAccountsCtrl$acc2$nav$List") _IEAction ($oSelect,"click" ) After this I have a choice to select: "Recent transactions" or "statements" or "help", etc. So what now? How could I select the a given menu choice from the drop-down? Thanks a lot for the help in advance! Viktor
PsaltyDS Posted February 7, 2008 Posted February 7, 2008 Did you try the example in the help file for _IEFormElementOptionselect()? Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Viktor Posted February 8, 2008 Author Posted February 8, 2008 Thanks for the pointer! The "Bytext" option worked beautifully!Cheers: ViktorDid you try the example in the help file for _IEFormElementOptionselect()?
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