Member Login

Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Automatically click on 'Log In' Button on Web Page


Automatically click on 'Log In' Button on Web Page

Automatically click on 'Log In' Button on Web Page

Hello, I'm trying to find a way to automatically click on a button on a web page.
As the title says, it's the 'login' button.

Is there a way to activate web buttons with vbscript?


RE: Automatically click on 'Log In' Button on Web Page

Look at HTML DOM for this....if the button has an ID you would be able to do something like


It really depends on the page.  What have you tried so far?  If nothing, look for InternetExplorer.Application

My philosophy: K.I.S.S - Keep It Simple Stupid

RE: Automatically click on 'Log In' Button on Web Page

I'm a bit of a noob and haven't tried anything so far.
I can see from the source code that the form does have an id

Here's a bit of the page code.

<body marginheight="0" marginwidth="0">
        <form name="Login" method="post" action="Login.aspx?cID=8666&amp;lng=en-US" id="Login">
<input type="hidden" name="__PageDirty" value="False" />
<input type="hidden" name="__PageDirtyMsg" value="Changes have been made but not saved.\nYour changes will be lost if you continue.\n\nDo you wish to continue?" />
<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" value="dDwyMDA5Njg3OTU3O3Q8cDxsPGNJRDs+O2w8aTw4NjY2Pjs+PjtsPGk8MD47PjtsPHQ8O2w8aTwxPjtpPDI+O2k8Nz47aTw4PjtpPDEwPjtpPDE0Pjs+O2w8dDxwPHA8bDxUZXh0Oz47bDxMb2dpbjs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8ZXpMYWJvck1hbmFnZXIgV2ViIENsb2NraW5nOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxDaGFuZ2UgQ2xpZW50Oz4+O3A8bDxPbkNsaWNrOz47bDxldmVudC5jYW5jZWxCdWJibGU9dHJ1ZVw7Oz4+Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFRDU3BpbmU7Pj47Pjs7Pjt0PHA8cDxsPE1heExlbmd0aDs+O2w8aTwyNT47Pj47cDxsPG9ua2V5ZG93bjs+O2w8ZG9TdWJtaXQoZXZlbnQsJ2J0bkxvZ2luX2FjdGl2ZScpXDs7Pj4+Ozs+O3Q8O2w8aTwxPjs+O2w8dDxwPHA8bDxUZXh0Oz47bDxNZXNzYWdlczs+Pjs+Ozs+Oz4+Oz4+Oz4+Oz5Oh8FyOYZHjaBXeIBL5F1hoA6JnQ==" />

<script language="javascript" type="text/javascript">
    function __doPostBack(eventTarget, eventArgument) {

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close