emanemos Posted February 13, 2014 Share Posted February 13, 2014 I have a problem :My _IEFormElementGetvalue returns the value 9 or I want the name associated with this value Stab_def (in the source </ option> <option value="9"> Stab_def).Which function must I use to get Stab_def instead of 9? Code $oForm = _IEFormGetObjByName ($oIE, "mainForm") $Value=_IEFormElementGetObjByName($oForm,"mtbeStabilityDefinitionUs_") _ExcelWriteCell($oExcel,_IEFormElementGetvalue($Value), $j,3) Thanks for your help. Link to comment Share on other sites More sharing options...
JohnOne Posted February 13, 2014 Share Posted February 13, 2014 innertext? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
emanemos Posted February 13, 2014 Author Share Posted February 13, 2014 _ExcelWriteCell($oExcel,_IEFormElementGetvalue($Value), $j,10) $Value=_IEFormElementGetObjByName($oForm,"mtbeStabilityDefinitionUs_") $txt = String($Value.innertext) _ExcelWriteCell($oExcel,$txt, $j,3) I get defaultStab....Stab_Def..... (for all the values from 1 to 20) source <option value="1">defaultStab .......</option><option value="9">Stab_Def)........ or i only want Stab_Def for value="9" Thanks Link to comment Share on other sites More sharing options...
JohnOne Posted February 13, 2014 Share Posted February 13, 2014 difficult without URL AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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