Hello, i decided to make a easy tutorial on some Visual Basic 6.0
This is kind of basic, also im pretty sure there will be some people whining about vb sucking and Auto-it being better.
Well its like this, i do not know Auto-it becouse its not what i am goint to learn further on when i got to college, i will prolly learn C, C#, C++. I learned VB a long time ago and i think it can be really handy sometimes. So that is a explanation to why i am doing this in VB. So please if you have some comment like "This would be so much easier in Auto-It." Or similar then please do not post it, keep it to yourself. I know this language and i am going to make the best i can to make people enjoy themselves and have fun.
Now, you will need:
Visual basic 6.0 (you can find this in Visual Studio)
Lets get started!
First off we will make a New project:

Then we go on and edit the window (form) we will use today:

Now make a textbox, you can find it on the menu to the left:

Go on and make a Timer, also to be found to the left :
(note: Leave all names to default!)

And finally Add a Button! Also to be found to the left:

Lets get to the code!
First off, Select the Timer and give the interval the ammount you wish. The time is in MS = miliseconds, meaning 0.001sec, 1000 of those = 1 sec. We will be using 2000 today so fill in 2000 in the Interval box on the timer. Then also make the timer FALSE
Then we go on to the code, please click the button twice and a coding window should appear. It should look something like this:
Code:
Private Sub Command1_Click()
End Sub
Now insert this code in there:
Timer1.enabled = true
It should look like this:
Code:
Private Sub Command1_Click()
Timer1.enabled = true
End Sub
Now, lets go to the timers code, klick the timer so that you get to the code of it, and then insert this:
SendKeys Text1.Text
So it should look like this:
Code:
Private Sub Timer1_Timer()
SendKeys Text1.Text
End Sub
What does this do?
Well, basicly when you press the button, the timer starts, the timer will send the key that you have entered in the textbox each 2 seconds (2000ms).
Please do experiment with this! This DOES work on WoW
you can send keys etc, just make sure you dont use a too fast interval on the timer, becouse you could screw up bigtime ^^ imagine your pc trying to send information 1000/times a sec... not a good idea, so use something like 500ms (0.5 sec) OFC when you are doing commands such as WASD in wow, well then you can do them rly fast cos you are walking, not such a big deal. Just be careful!
Anyway, if you want to make a .exe out of this go to :
File->Make project1.exe
(file is in the top left corner ^^)
// Your sincerely Justei
Have fun! and i hope this helped someone!
Sample project to download:
http://freeftp.mine.nu/new/filer/ano...tTuTSource.zip