Orgins Posted August 31, 2007 Share Posted August 31, 2007 I'm trying to make a news bot for a forum. I got every thing working right but it clicking the "Post New Topic" button (after it enters the topic name and post info) I Tried _IEFormSubmit ($oForm, 1) but it didn't seem to work. The button isn't a pic so I can't use _IEFormImageClick (like I did for clicking make a new topic). Any suggestions? I'm a newbie.Sorry if I don't reposed to your replays very fast. Link to comment Share on other sites More sharing options...
PsaltyDS Posted August 31, 2007 Share Posted August 31, 2007 Any suggestions?Provide more information? What site? Show the HTML for the site? Show your code so far? 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 Link to comment Share on other sites More sharing options...
Orgins Posted August 31, 2007 Author Share Posted August 31, 2007 Good suggestions there. I found this line the HTML code: <input type="submit" name="submit" value="Post New Topic" tabindex='4' class='forminput' accesskey='s' /> I think I gotta do something with that. Anyways I gotta go do something now. I'll post/bump this topic up latter with more info. I'm a newbie.Sorry if I don't reposed to your replays very fast. Link to comment Share on other sites More sharing options...
mikehunt114 Posted August 31, 2007 Share Posted August 31, 2007 $oSubmit = _IEGetObjByName($oIE, "submit") _IEAction($oSubmit, "click") IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font] 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