Jump to content

Click a post new topic button in IE?


 Share

Recommended Posts

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

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.

Link to comment
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]
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...