IrishPride Posted June 17, 2011 Share Posted June 17, 2011 Hey guys, I've been using AutoIt for some time now, and I've had hardly any problems until recently. If this is the wrong section for this post; I apologize, as it does associate with GUI settings. Anyways, I've been recently messing around with some settings, and I'm wondering how to associate sending a text string into an external application, i.e World of Warcraft. Furthermore, I am wondering how to send something such as "Buying", or any text within the input box, to the external program. I've tried many different settings, such as Send($Input)or Send("$input") However, Send($Input) always sends "4" to the window, as Send("$Input") just types out "$Input". Any solutions? Thanks in Advance Link to comment Share on other sites More sharing options...
smartee Posted June 17, 2011 Share Posted June 17, 2011 Hi IrishPride,Welcome to the forums Discussions of this sort (game bots/automation) are prohibited on this forum. Perhaps you ought to take a few minutes to read the forum rules.Looking forward to helping you in the future Regards,-smartee Link to comment Share on other sites More sharing options...
IrishPride Posted June 17, 2011 Author Share Posted June 17, 2011 (edited) Thanks for your quick response! I understand why you would not support such discussion, and I suppose that was a bad example; however I was planning on using the script for a variety purposes, i.e: email/text messenger, or an automatic google search with the designated input, etc. My apologies for persuading an unsupported topic. Edited June 17, 2011 by IrishPride Link to comment Share on other sites More sharing options...
sponk Posted June 20, 2011 Share Posted June 20, 2011 If you want to send a simple string to a specific window then you can use: winactivate("title", "", ) Send("yourmsghere") .. you can also create a variable like: $input="yourmsghere" and then Send($input) - - without the "" hope it helped Link to comment Share on other sites More sharing options...
Maffe811 Posted June 20, 2011 Share Posted June 20, 2011 Send("") Will send whats between the "-s in raw text. So if you type Send("$input") you get $input. And if you type send($input) then it will send whatever the variable holds. [font="helvetica, arial, sans-serif"]Hobby graphics artist, using gimp.Automating pc stuff, using AutoIt.Listening to music, using Grooveshark.[/font]Scripts:[spoiler]Simple ScreenshotSaves you alot of trouble when taking a screenshot!Don't remember what happened with this, but aperantly the exe is all i got.If you don't want to run it, simply don't._IsRun UDFIt figures out if the script has ben ran before based on the info in a ini file.If you don't want to use exactly what i wrote, you can use it as inspiration.[/spoiler] 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