ZanaxNL Posted August 25, 2010 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 Quote 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
Baraoic Posted August 25, 2010 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")
ZanaxNL Posted August 25, 2010 Author 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
somdcomputerguy Posted August 25, 2010 Posted August 25, 2010 Simple Notepad Automation - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
ZanaxNL Posted August 25, 2010 Author Posted August 25, 2010 Uhhmmm... I asked a example of ControlSend. (!!!) How that works... thanks anyways but i need to know that. ZanaxNL
Tvern Posted August 25, 2010 Posted August 25, 2010 There is an example for (almost?) all functions in the helpfile. The one for controlsend is even for notepad!
ZanaxNL Posted August 25, 2010 Author 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
Baraoic Posted August 25, 2010 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.
ZanaxNL Posted August 25, 2010 Author Posted August 25, 2010 Ok, but the title give me a problem.The title = Quote LastChaos - Aeria Games & Entertainment (Window 800x600)When i do this: Quote 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
somdcomputerguy Posted August 25, 2010 Posted August 25, 2010 WinTitleMatchMode (Option) - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
ZanaxNL Posted August 25, 2010 Author Posted August 25, 2010 Sorry i don;t understand that. Can u please give a scirpt or code? thanks
Theri Posted August 25, 2010 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...
ZanaxNL Posted August 25, 2010 Author 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 : (?
Tvern Posted August 25, 2010 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
JohnOne Posted August 25, 2010 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.
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