Jump to content

Recommended Posts

Posted (edited)

Failed :(

#include <IE.au3>
$oIE = _IECreate ("http://ggmclan.omgforum.net/login.forum?connexion")
$oForm = _IEFormGetObjByName ($oIE, "Log in")
$oText = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oText, "Admin")

Hey, I`m New Here.

Can anyone tell me what is the problem here?

"Admin" Does not appear in "username" form

Edited by Danyiel92
Posted (edited)

Yo,

you were using the wrong form name in your code.

#include <IE.au3>
$oIE = _IECreate ("http://ggmclan.omgforum.net/login.forum?connexion")
$oForm = _IEFormGetObjByName ($oIE, "form_login") ; changed this line
$oText = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oText, "Admin")
Edited by Steveiwonder

They call me MrRegExpMan

Posted

Yo,

you were using the wrong form name in your code.

#include <IE.au3>
$oIE = _IECreate ("http://ggmclan.omgforum.net/login.forum?connexion")
$oForm = _IEFormGetObjByName ($oIE, "form_login") ; changed this line
$oText = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oText, "Admin")

Thx..

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
×
×
  • Create New...