AgentSmith15 Posted December 15, 2005 Share Posted December 15, 2005 I'm trying to get Autoit to work with Halo, but things are not going to good I know my script is correct but it doesn't do anything. I can't directly send to a window because there is none, at least I think there isn't.... opt("SendKeyDelay", 10); Alters the the length of the brief pause in between sent keystrokes. opt("SendKeyDownDelay", 5); Alters the length of time a key is held down before released during a keystroke. HotKeySet("{NUMPAD0}", "SendMessage") While 1 Sleep(100);The sleep loop is too keep Autoit running. WEnd Func SendMessage() Send("y", 1) Send("Stop TK'ing or you will be banned", 1) Send("{ENTER}") EndFunc ;==>SendMessage The key "y" is to open a chatbox, the rest you can understand. I tested the script with notepad and everything works, but with Halo it doesn't even open the chat box? So can anyone help me debug this problem, or have any suggestions on what I am doing wrong? [center][/center] Link to comment Share on other sites More sharing options...
AgentSmith15 Posted December 15, 2005 Author Share Posted December 15, 2005 Okay I did a little reading in the forums and found the ControlSend function. Now I have a question.... I don't have the title, text, and control of thr window, and I doubt that there is one since this is a game. So what do I do now? [center][/center] Link to comment Share on other sites More sharing options...
NegativeNrG Posted December 15, 2005 Share Posted December 15, 2005 you can use Autoitwindow tool to see the Title of the game, or try the halo's Process name. [size=20]My File Upload[/size]Register at my site and upload. Link to comment Share on other sites More sharing options...
AgentSmith15 Posted December 15, 2005 Author Share Posted December 15, 2005 Sorry to keep posting....Anyways I had a random idea to do a search on Halo, and found a big problem....http://www.autoitscript.com/forum/index.ph...pic=14946&st=15 [center][/center] 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