Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; --- Login all six accounts
- !^+l:: ; --- Use ctrl+alt+shift+l to login
- CoordMode, Mouse, Screen
- ; --- I used sequential account names e.g., user1, user2, ...
- ; --- If you don't have sequential accounts, create an array.
- user = accountnamegoeshere
- pass = passwordgoeshere
- acct := 0
- temp = %user%
- ; --- Main loop to login all accounts.
- Loop, 6
- {
- ; -- Just to be sure that no window is in the way.
- WinMinimizeAll
- Sleep, 1000
- ; --- Start an "ao.bat" (text file) file in the AO direcctory that contains only:
- ; --- START Anarchy.exe
- ; --- as a work around if you can't run it directly.
- Run, ao.bat, C:\Program Files (x86)\Steam\steamapps\common\Anarchy Online
- Sleep, 3000
- ; --- Click accept button
- Click, left, 758, 702, 2, 10
- Sleep, 3000
- ; --- Click play button
- Click, left, 1316, 737, 2, 10
- Sleep, 3000
- ; --- Click username textfield
- Click, left, 987, 506, 2, 10
- Sleep, 1000
- ; --- Loop backspace to erase username
- Loop, 15
- Send, {Backspace}
- Sleep, 1000
- ; --- Paste the username
- Send, %temp%
- Sleep, 2000
- ; --- Click the password textfield
- Click, left, 987, 531, 2, 10
- Sleep, 1000
- ;Type password
- Send, %pass%
- Sleep, 2000
- ; --- Click the login button
- Click, left, 875, 566, 2, 10
- Sleep, 2000
- ; --- Click the login character button
- Click, left, 965, 892, 2, 10
- Sleep, 1000
- temp = %user%%acct%
- acct := acct+1
- }
- WinMinimizeAll
- Sleep, 1000
- CoordMode, Mouse, Window
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement