Jump to content

automatic login site


Recommended Posts

hi guy

i  have  created   a script  for  automatic login   a  site  this is  a code 

i  dont  know  why  , i run   dont  go

$oIE = _IECreate("http://www.atixo.de/", 0, 1, 1, 1)

Local $oForm = _IEGetObjById($oIE, "infoBarLogin")
Local $username = _IEFormElementGetObjByName($oForm, "login")
_IEFormElementSetValue($username , "demade")
Local $pass = _IEFormElementGetObjByName($oForm, "password")
_IEFormElementSetValue($pass , "demade")
Local $oSubmit = _IEGetObjById($oIE, "submit")
_IEAction($oSubmit, "click")
_IELoadWait($oIE)

 

Link to comment
Share on other sites

Can you provide us with the website, so that we may have more information on how to help you?

 

EDIT: Ah, I see that you have it posted already, my apologies I'll take a look..

Edited by MikahS
Didn't have my coffee

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Link to comment
Share on other sites

This works for me:

#include <IE.au3>

Local $oIE, $username, $password, $oSubmit

$oIE = _IECreate("http://www.atixo.de/")

$username = _IEGetObjById($oIE, "infoBarLoginName")
_IEFormElementSetValue($username, "demade")

$password = _IEGetObjById($oIE, "infoBarLoginPassword")
_IEFormElementSetValue($password, "demande")

$oSubmit = _IEGetObjById($oIE, "infoBarLoginButton")
_IEAction($oSubmit, "click")

All good? :)

Edited by MikahS

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

Link to comment
Share on other sites

My pleasure. ^_^

Snips & Scripts


My Snips: graphCPUTemp ~ getENVvars
My Scripts: Short-Order Encrypter - message and file encryption V1.6.1 ~ AuPad - Notepad written entirely in AutoIt V1.9.4

Feel free to use any of my code for your own use.                                                                                                                                                           Forum FAQ

 

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...