NSearch Posted April 2, 2008 Share Posted April 2, 2008 (edited) Hello, I have searched the forums, but haven't had much luck resolving my problem. Any help would be appreciated. Form name: <form name="rateToolsMainForm" method="post" action="/ratetools/FindZones.do"> Button: <input type="submit" value="Find zones >>" onclick="submitFindZonesForm('FindZones');" class="buttonpurple"> Please let me know if I need to post more information. Thanks! Edited April 2, 2008 by NSearch Link to comment Share on other sites More sharing options...
d4rk Posted April 2, 2008 Share Posted April 2, 2008 Try with _IEFormSubmit or _IEAction ($oSubmit, "click")[look at this in the UDFs] [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
NSearch Posted April 2, 2008 Author Share Posted April 2, 2008 (edited) Thanks for your reply d4rk. I have tried _IEFormSubmit, but it navigates to the wrong page. I have also tried _IEAction($oSubmit, "click"), but when trying $o_submit = _IEGetObjByName ($oIE, "???")......the submit button doesn't have a name....so I am not sure how to get the submit object. Any other ideas, or just let me know what I am doing wrong. Thanks! Edited April 2, 2008 by NSearch Link to comment Share on other sites More sharing options...
NSearch Posted April 2, 2008 Author Share Posted April 2, 2008 Anyone? Link to comment Share on other sites More sharing options...
DaleHohm Posted April 2, 2008 Share Posted April 2, 2008 From the helpfile documentation on _IEFormGetObjByName RemarksIf the desired form does not have a name or ID, _IEFormGetCollection to get a reference by indexDale 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...
junkew Posted April 2, 2008 Share Posted April 2, 2008 * Easiest _IEFormGetCollection* Harder is looking for a matching bitmap and move the mouse to the found location and send a mouseclick at that location http://www.autoitscript.com/forum/index.ph...mp;#entry493137 FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets 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