Sign in to follow this  
Followers 0
cert

Listening/inputting for strings

2 posts in this topic

i know u can listen for a certain character to be pressed using HotKeySet(), but i was wondering if there was anyway to input a string without using a message box or something like it. its not i want to make a keylogger... i use autoit to simulate a lot of things in games. one place where i could use this if u are able to do it is this.

in warcraft3 some games the faster u press keys the faster monsters get summoned. so, u hit a hotkey to start the listening, hit the letters u wish to spam, and hit a hotkey again. it will take that string and spam it until i hit some other hotkey again.

so is there anyway to listen and input strings like this?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

i know u can listen for a certain character to be pressed using HotKeySet(), but i was wondering if there was anyway to input a string without using a message box or something like it. its not i want to make a keylogger... i use autoit to simulate a lot of things in games. one place where i could use this if u are able to do it is this.

in warcraft3 some games the faster u press keys the faster monsters get summoned. so, u hit a hotkey to start the listening, hit the letters u wish to spam, and hit a hotkey again. it will take that string and spam it until i hit some other hotkey again.

so is there anyway to listen and input strings like this?

1. Help File

2. Send()

3. ControlSend()

4. ControlSetText()

5. _IsPressed()

6. HotKeySet()

7. SendKeyDelay

Edit:

The 'Listen' Makes no sense, unless you mean 'Read', then you can look at:

1. ControlGetText()

2. ControlCommand()

3. ClipPut()

4. ClipGet()

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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