ZanaxNL 0 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 Share this post Link to post Share on other sites
Baraoic 0 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") Share this post Link to post Share on other sites
ZanaxNL 0 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 Share this post Link to post Share on other sites
somdcomputerguy 103 Posted August 25, 2010 Simple Notepad Automation - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites
ZanaxNL 0 Posted August 25, 2010 Uhhmmm... I asked a example of ControlSend. (!!!) How that works... thanks anyways but i need to know that. ZanaxNL Share this post Link to post Share on other sites
Tvern 11 Posted August 25, 2010 There is an example for (almost?) all functions in the helpfile. The one for controlsend is even for notepad! Share this post Link to post Share on other sites
ZanaxNL 0 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 Share this post Link to post Share on other sites
Baraoic 0 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. Share this post Link to post Share on other sites
ZanaxNL 0 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 Share this post Link to post Share on other sites
somdcomputerguy 103 Posted August 25, 2010 WinTitleMatchMode (Option) - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites
ZanaxNL 0 Posted August 25, 2010 Sorry i don;t understand that. Can u please give a scirpt or code? thanks Share this post Link to post Share on other sites
Theri 0 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... Share this post Link to post Share on other sites
ZanaxNL 0 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 : (? Share this post Link to post Share on other sites
Tvern 11 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 Share this post Link to post Share on other sites
JohnOne 1,603 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. Share this post Link to post Share on other sites