Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;Login info;
- $Path = "C:\Program Files\World of Warcraft\WoW.exe";Default path
- $Accountname = "Account Name"; Put your WoW account name there..
- $Pass = "Account Password";Put your WoW password there...
- ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
- Logon()
- Func Logon()
- If WinExists("World of Warcraft") Then
- $hWnd = WinGetHandle("World Of Warcraft");Handle of WoW, for controlsend
- Sleep(100)
- ControlSend($hWnd, "", "", $Accountname);Sends it to the game, wether your in game or not. Account name.
- Sleep(100)
- ControlSend($hWnd, "", "", "{TAB}");Moves down to the password field.
- Sleep(100)
- ControlSend($hWnd, "", "", $Pass);Sends it to the game, wether your in game or not.
- Sleep(100)
- ControlSend($hWnd, "", "", "{ENTER}");Moves down to the password field.
- Sleep(100)
- Else
- Run($Path, "")
- Sleep(8000);25 seconds is a bit much...
- $hWnd = WinGetHandle("World Of Warcraft");Handle of WoW, for controlsend
- Sleep(100)
- ControlSend($hWnd, "", "", "Accountname");Sends it to the game, wether your in game or not. Account name.
- Sleep(100)
- ControlSend($hWnd, "", "", "{TAB}");Moves down to the password field.
- Sleep(100)
- ControlSend($hWnd, "", "", "AccountPassword");Sends it to the game, wether your in game or not.
- Sleep(100)
- ControlSend($hWnd, "", "", "{ENTER}");Moves down to the password field.
- Sleep(100)
- EndIf
- EndFunc
Advertisement
Add Comment
Please, Sign In to add comment