Sign in to follow this  
Followers 0
IrishPride

Need some basic help.

5 posts in this topic

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

Share this post


Link to post
Share on other sites



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 :huh2:

Regards,

-smartee

Share this post


Link to post
Share on other sites

#3 ·  Posted (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. :huh2:

Edited by IrishPride

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0