Sign in to follow this  
Followers 0
Orgins

Click a post new topic button in IE?

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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' />&nbsp;

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.

Share this post


Link to post
Share on other sites

$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]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0