erbailey Posted February 2, 2007 Share Posted February 2, 2007 I was reading through and decided to download the AutoIt123 by Valuater. First off, this is awesome, Ive learned more in the last 15 minutes than I have trying to write my own scripts. Thank you so much for your support.I have a question about the _IEFormGetObjByName function...Here is an example $oForm = _IEFormGetObjByName($oIE, "f")The only part I am having a difficult time understanding is the "f" portion of this that is in red.I read the help on this and still don't understand what it is, how you come up with this value etc... can someone explain this to me? Link to comment Share on other sites More sharing options...
evilertoaster Posted February 2, 2007 Share Posted February 2, 2007 From the helpfile- Returns an object reference to a Form by name. #include <IE.au3> _IEFormGetObjByName ( $o_object, $s_name [, $i_index = 0]) Parameters $o_object Object variable of an InternetExplorer.Application, Window or Frame object $s_name Name of the Form you wish to match $i_index Optional: If the Form name occurs more than once, specify which instance you want by 0-based indexso the 'f' is the "Name of the Form you wish to match " Link to comment Share on other sites More sharing options...
DaleHohm Posted February 2, 2007 Share Posted February 2, 2007 In the HTML source for the page you would see <form name="f"> The IEBuilder (also by Valuater) will help you find object names as will several other tools you'll see in my sig. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
erbailey Posted February 2, 2007 Author Share Posted February 2, 2007 Thank you for your help. I will check out IEBuilder as well 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