Jump to content
Sign in to follow this  
faustf

automatic login site

Recommended Posts

faustf

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)

 

Share this post


Link to post
Share on other sites
MikahS

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

 

Share this post


Link to post
Share on other sites
MikahS

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
  • Like 1

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

 

Share this post


Link to post
Share on other sites
faustf

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

​yea  also for me  go good  thankz so much 

:)

Share this post


Link to post
Share on other sites
MikahS

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

 

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  

×