heero Posted March 18, 2010 Share Posted March 18, 2010 I'm in the process of automating the debugging of a program (meka0.72 in debug mode), but the thing is the program accepts automated letter and {space} presses just fine, but not Send("{enter}") or even Send("{ASC 012}{ASC 010}"). When I manually press enter in the program it works as intended. When I run the script and press the hotkey with notepad in the foreground it 'works' as intended (sends the keystrokes including enter). Any ideas? I've also tried with differing versions of the program/auto-it to see if that was the problem but to no avail. Opt("SendKeyDelay",5) HotKeySet("+!s", "Start") ;Shift-Alt-s ; Wait until hotkey pressed While 1 Sleep(100) WEnd Func Start() Sleep(1000) Send("m d3a8 0xc") Sleep(1000) Send("{enter}") ; Send("{ASC 012}{ASC 010}") Sleep(1000) Send("c") Sleep(1000) Send("{Enter}") EndFunc Link to comment Share on other sites More sharing options...
JohnOne Posted March 18, 2010 Share Posted March 18, 2010 Perhaps you ought to look at ControlSend() AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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