Sign in to follow this  
Followers 0
thanh159

change var value ?

5 posts in this topic

#include <IE.au3>

$oIE = _IECreate ("http://xxxxxxxxxxxxxxxx.com")

; get pointers to the login form and username, password and signin fields

$o_form = _IEFormGetObjByName ($oIE, "form2")

$o_login = _IEFormElementGetObjByName ($o_form, "cbxUsername")

$o_password = _IEFormElementGetObjByName ($o_form, "txtPassword")

$o_signin = _IEFormElementGetObjByName ($o_form, "btnLogin")

$username = "125"

$password = "123456789"

; Set field values and submit the form

_IEFormElementSetValue ($o_login, $username)

_IEFormElementSetValue ($o_password, $password)

_IEAction ($o_signin, "click")

how do i make $password change from 0 to xxxxxx with 0 at fist

like this :012345,000123...

thank !!!

Share this post


Link to post
Share on other sites



yeah ! thank you .. .. :x

Share this post


Link to post
Share on other sites

if $password < 10 Then

$password = "00000" & $password

elseif $password <100 and $password >=10 then

$password = "0000" & $password

elseif $password <1000 and $password>=100 then

$password ="000" & $password Then

elseif $password<10000 and $password >=1000 Then

$password ="00" & $password then

elseif $password <100000 and $password>=10000 then

$password = "0"& $password

endif

this is mine :x

Share this post


Link to post
Share on other sites

yes it works

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  
Followers 0