kokice Posted July 24, 2008 Posted July 24, 2008 While 1 Send('{!}') Sleep(500) WEnd this code above works fine when i open Notepad, but in my gamehowever in the chat box it will not type it i even tried While 1 WinWaitActive("game title") Send('{!}') Sleep(500) WEnd and this above still wont work
Decker87 Posted July 24, 2008 Posted July 24, 2008 Have you tried adding a messagebox to make sure it is looping? Have you tried using SendKeepActive?
Alodar99 Posted July 24, 2008 Posted July 24, 2008 Have you tried it without the "Curley Brackets". Send('!') [font="Franklin Gothic Medium"]---Al[/font]
kokice Posted July 24, 2008 Author Posted July 24, 2008 yeah its looping i just tried with non curley brackets still doesn't work muttley
crzftx Posted July 24, 2008 Posted July 24, 2008 A lot of games will not allow you to send keys in the way AutoIt does. There have been many threads on this, and I don't remember anybody ever finding an AutoIt based solution. Maybe trying to imitate the keyboard drivers or something, I have no idea.
cal Posted July 24, 2008 Posted July 24, 2008 also have a look at the keydown delay. Some games can't handle the default value. I had to do for an old game. Hmmm...... Found the old script in my "not needed" dir. Opt("SendKeyDownDelay", 55) I had to bump it all the way up to 55 before GTA would see keystrokes.
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