SofaKingWeTardEd Posted January 19, 2008 Share Posted January 19, 2008 RAWWRRR! :3Got a question:While using ControlSend() Function, I have trouble with my keyboard? I mean, I have all the ID, Window Name & Text etc. And it works a charm. But!When i'm on MSN it ruin's all my messages :s Sometimes it will delete it all, and sometimes make random ASCII characters. All it does it Send Ctrl+X (^x) and then half a second later press Ctrl+S (^s). But it's really hard to speak on MSN... Is there any way around this? Link to comment Share on other sites More sharing options...
SofaKingWeTardEd Posted January 19, 2008 Author Share Posted January 19, 2008 Bump~ Link to comment Share on other sites More sharing options...
FireLordZi Posted January 19, 2008 Share Posted January 19, 2008 I could be of further assistance if I had some code to read. Describing the problem is not much to work with... While Alive() { DrinkWine(); }AutoIt Programmer Link to comment Share on other sites More sharing options...
SofaKingWeTardEd Posted January 19, 2008 Author Share Posted January 19, 2008 Well, it's very, very, very basic. I'm still trying to learn, so you'll have to forgive me. After using AutoIt's Window Info, it doesn't give no Text nor ID x_xThat's about it For some reason, without the first line (While 1; Sleep(1); WEnd) the program opens and closes in a instant! :S; HotKey HotKeySet ("{PAUSE}","Begin") HotKeySet ("{ESC}","ExitP") ; Code While 1 Sleep (1) WEnd Func Begin() While 1 ControlSend ("GameName","","","^x",0) Sleep (1000) ControlSend ("GameName","","","^s",0) WEnd EndFunc Func ExitP() Exit EndFunc Link to comment Share on other sites More sharing options...
Nevin Posted January 19, 2008 Share Posted January 19, 2008 It closes instantly because there's nothing for it to do. The rest of the code consists of functions that have to be called. Link to comment Share on other sites More sharing options...
FreeFry Posted January 20, 2008 Share Posted January 20, 2008 Correct me if I'm wrong, but this does send keys/text to a msn game? Link to comment Share on other sites More sharing options...
SofaKingWeTardEd Posted January 20, 2008 Author Share Posted January 20, 2008 Correct me if I'm wrong, but this does send keys/text to a msn game?Nope, this sends keys to Game that is minimized. Link to comment Share on other sites More sharing options...
FreeFry Posted January 21, 2008 Share Posted January 21, 2008 oh, ok.. hmm then I'm out of guesses.. 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