faustf Posted June 1, 2015 Posted June 1, 2015 hi guyi 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)
MikahS Posted June 1, 2015 Posted June 1, 2015 (edited) 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 June 1, 2015 by MikahS Didn't have my coffee Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy 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
faustf Posted June 1, 2015 Author Posted June 1, 2015 in script you can see a site $oIE = _IECreate("http://www.atixo.de/", 0, 1, 1, 1)
MikahS Posted June 1, 2015 Posted June 1, 2015 (edited) 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 June 1, 2015 by MikahS faustf 1 Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy 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
faustf Posted June 1, 2015 Author Posted June 1, 2015 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
MikahS Posted June 1, 2015 Posted June 1, 2015 My pleasure. Snips & Scripts My Snips: graphCPUTemp ~ getENVvarsMy 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now