Handsonfire Posted September 9, 2006 Share Posted September 9, 2006 Ok, so I'm a total newbie when it comes to this, but I did some searching and found a WoW Auto-Login Script. expandcollapse popup; AutoIt Version: 3.0 ; Language: English ; Platform: WinXP ; Author: Oldhead ; ; Script Function: ; WoW FishBot. ; ; Wow Window Title - World of Warcraft ; WoW Window Size - w1032 x h795 ; classname=GxWindowClassD3d ; Initial shit WinActivate("World of Warcraft") HotKeySet("{PAUSE}", "EndScript") ; Script Start If FileExists(@ProgramFilesDir & "\World of Warcraft\WoW.exe") Then Run(@ProgramFilesDir & "\World of Warcraft\WoW.exe") Sleep(25000) MouseClick("left", 460, 400, 1, 2) send("username") Sleep(100) MouseClick("left", 455, 477, 1, 2) send("password") send("{ENTER}") EndIf ; Function to exit script Func EndScript() $exit = MsgBox(4, "WoW Log In", "End login script?") If $exit = 6 Then Exit EndIf EndFunc Now my reason for using this Auto-Login, is my server I play on, is alot of the times full, so if it is full, you will connect, stay connected for a few seconds, then it will say disconnected. Now what I want to do, is have the script press enter, closing the "Disconnected" window, and have the script repeat untill I have logged in. Any help would be appreciated. Link to comment Share on other sites More sharing options...
AceLoc Posted September 9, 2006 Share Posted September 9, 2006 just use controlsend? -.- [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Handsonfire Posted September 9, 2006 Author Share Posted September 9, 2006 Ok, can you be a little more helpfull and not assume I know everything. As I stated, I'm a complete newbie. So a little more concrete help would be useful. Link to comment Share on other sites More sharing options...
{NL}--Xantios--- Posted September 16, 2006 Share Posted September 16, 2006 Ok, can you be a little more helpfull and not assume I know everything. As I stated, I'm a complete newbie. So a little more concrete help would be useful.dont take this personalYOU MAKE ME VERY VERY ANGRY !Be glad with the help you get , Link to comment Share on other sites More sharing options...
Mosquitos Posted September 16, 2006 Share Posted September 16, 2006 From the help File of AutoIt ControlSend works in a similar way to Send but it can send key strokes directly to a window/control, rather than just to the active window. ControlSend is only unreliable for command prompts as that works differently to normal windows (seems to check physical states rather than accepting the keystroke messages). For normal windows ControlSend should be way more reliable than a normal Send - and yes it does send shift, ctrl, alt etc. As mention in the Send help the keyboard that send different chars when in CAPS LOCK and using the Shift Key cannot be simulated. An example is the Czech Keyboard. A good workaround is to use the ControlSetText. Sapiente vince, rex, noli vincere ferro! Link to comment Share on other sites More sharing options...
AceLoc Posted September 23, 2006 Share Posted September 23, 2006 ControlSend("Title", "Text", "ControlID", "String", 1);The (1) is just a example of a FLAG ..dont take this personal YOU MAKE ME VERY VERY ANGRY ! Be glad with the help you get/agree. Thanks. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now