Help - Search - Members - Calendar
Full Version: My first macro, please help!
AC Tools Everything Macro > AC Tool Macros > Macro Development
ibleedmtdew
while $n < $z
MousePos 573, 277
leftclick
Keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}
keys {BACK}

MousePos 567, 275
leftclick
delay 3 sec
setconst user = $user+$n
keys $user
delay 3 sec
MousePos 497, 321
leftclick
keys $pass
delay 3 sec
MousePos 459, 363
leftclick
delay 4 sec
MousePos 908, 687
leftclick


Continue
end

So I need to login to many different things. I set my user name and password and then my username should increase so username, username2,username3, all the way until the end. However it starts username,username2,username22,username222 and so forth. Thanks in advance smile.gif
Markkkkk26
QUOTE(ibleedmtdew @ Nov 7 2009, 06:55 PM) *
So I need to login to many different things. I set my user name and password and then my username should increase so username, username2,username3, all the way until the end. However it starts username,username2,username22,username222 and so forth. Thanks in advance smile.gif

Your equation is just stringing more letters (and numbers) together i.e x + h + e + 6 + r= xhe6r...
I would try the Inc command

Ex.
CODE
Constants
Temp1 = 0
User = 0
Pass = YourPassword
z = 4
End

Procedure n
Inc $Temp1
SetConst User = Username + $Temp1
Keys $User
Delay 3 sec
End

Procedure Click using x, y
MousePos $x, $y
Leftclick
End

While $Temp1 < $z
Call Click 573, 277
Loop 13
Keys {BACK}
End
Call Click 567, 275
Call n
Call Click 497, 321
Keys $pass
Delay 3 sec
Call Click 459, 363
Delay 4 sec
Call Click 908, 687
Continue
End
ibleedmtdew
QUOTE(Markkkkk26 @ Nov 8 2009, 02:18 AM) *
QUOTE(ibleedmtdew @ Nov 7 2009, 06:55 PM) *
So I need to login to many different things. I set my user name and password and then my username should increase so username, username2,username3, all the way until the end. However it starts username,username2,username22,username222 and so forth. Thanks in advance smile.gif

Your equation is just stringing more letters (and numbers) together i.e x + h + e + 6 + r= xhe6r...
I would try the Inc command

Ex.
CODE
Constants
Temp1 = 0
User = 0
Pass = YourPassword
z = 4
End

Procedure n
Inc $Temp1
SetConst User = Username + $Temp1
Keys $User
Delay 3 sec
End

Procedure Click using x, y
MousePos $x, $y
Leftclick
End

While $Temp1 < $z
Call Click 573, 277
Loop 13
Keys {BACK}
End
Call Click 567, 275
Call n
Call Click 497, 321
Keys $pass
Delay 3 sec
Call Click 459, 363
Delay 4 sec
Call Click 908, 687
Continue
End




YOOOOOOOO you're a genius!! Thanks!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.