ZanaxNL Posted August 25, 2010 Share Posted August 25, 2010 Hello, I'm really looking on every website for the code to make the macro/bot/autoit only work in the window/client I want. Like i say Send ["[Hello]" Than he most only say this in Notepad. so when I do something else on the computer he still saying that on Notepad. I really search this code for months. but no succes. So please somebody. Can u help me !? Thank a lot : (. I heared of someone that is maybe C++ script. Thanks, ZanaxNL Link to comment Share on other sites More sharing options...
Baraoic Posted August 25, 2010 Share Posted August 25, 2010 I would recommend using control send to notepad. There is an example in the help file ControlSend("[CLASS:Notepad]", "", "Edit1", "This is a line of text in the notepad window") Link to comment Share on other sites More sharing options...
ZanaxNL Posted August 25, 2010 Author Share Posted August 25, 2010 (edited) Ok, thanks. Can u make maybe a little example with notepad? ( < ControlSend ) So i can see how it works. Let say he most Send ("{Hello}") Thanks! Znaxnl Edited August 25, 2010 by ZanaxNL Link to comment Share on other sites More sharing options...
somdcomputerguy Posted August 25, 2010 Share Posted August 25, 2010 Simple Notepad Automation - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
ZanaxNL Posted August 25, 2010 Author Share Posted August 25, 2010 Uhhmmm... I asked a example of ControlSend. (!!!) How that works... thanks anyways but i need to know that. ZanaxNL Link to comment Share on other sites More sharing options...
Tvern Posted August 25, 2010 Share Posted August 25, 2010 There is an example for (almost?) all functions in the helpfile. The one for controlsend is even for notepad! Link to comment Share on other sites More sharing options...
ZanaxNL Posted August 25, 2010 Author Share Posted August 25, 2010 Omg. found it. Thank u so much ! Onichan ! Only thing. its for a game. with different resolutions (windowed game) so if i set the title until the resolution he will find the window also? *sorry this sentence is bad xD Thanks thanks thanks! ZanaxNL Link to comment Share on other sites More sharing options...
Tvern Posted August 25, 2010 Share Posted August 25, 2010 Read this first. Link to comment Share on other sites More sharing options...
Baraoic Posted August 25, 2010 Share Posted August 25, 2010 Resolutions doesn't make a difference, unless you are saying you have multiple windows and are trying to control each window differently using the resolutions. Then I am unsure how you would go about that. Link to comment Share on other sites More sharing options...
ZanaxNL Posted August 25, 2010 Author Share Posted August 25, 2010 Ok, but the title give me a problem.The title =LastChaos - Aeria Games & Entertainment (Window 800x600)When i do this:If GUICtrlRead($Checkbox1) = $GUI_CHECKED Then ControlSend ("LastChaos", "", "Edit1", ("{TAB}"),0)Then nothing happening in the game.So what title most stand there instead of LastChaos : (Last problem then its fixed : DThanksZanaxNL Link to comment Share on other sites More sharing options...
somdcomputerguy Posted August 25, 2010 Share Posted August 25, 2010 WinTitleMatchMode (Option) - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
ZanaxNL Posted August 25, 2010 Author Share Posted August 25, 2010 Sorry i don;t understand that. Can u please give a scirpt or code? thanks Link to comment Share on other sites More sharing options...
Theri Posted August 25, 2010 Share Posted August 25, 2010 There are examples on the function documentation on this site and in the install directory for AutoIt. That aside, this person is scripting to automate a multiplayer game... Link to comment Share on other sites More sharing options...
ZanaxNL Posted August 25, 2010 Author Share Posted August 25, 2010 Aha. but anyways. When i try it with Untiteld ( >Notepad ) it work, when i try other window it doesnt work anymore. so what now : (? Link to comment Share on other sites More sharing options...
Tvern Posted August 25, 2010 Share Posted August 25, 2010 The game features multiplayer and they do not allow automation. That means you can't discuss this here Terms of Service Link to comment Share on other sites More sharing options...
JohnOne Posted August 25, 2010 Share Posted August 25, 2010 Can you explain why you keep putting the laugh out loud emoticon in your posts, or enlighten us as to waht is so funny about them that makes you laugh? 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