Ray's Coding
Welcome to Ray's free coding forum! Here we help people learn to code, and share knowledge of coding.

Please feel free to sign up and begin your learning,teaching or sharing adventure!
Ray's Coding
Welcome to Ray's free coding forum! Here we help people learn to code, and share knowledge of coding.

Please feel free to sign up and begin your learning,teaching or sharing adventure!
Ray's Coding
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Ray's Coding

Ray's coding forum for teaching, sharing, and learning.
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  

 

 [TuT] How to make a basic AutoTyper

Go down 
AuthorMessage
Ray
God Ray
God Ray
Ray


Posts : 36
Code Tokens : 40313
Join date : 2013-05-02
Age : 25
Location : North America

[TuT] How to make a basic AutoTyper Empty
PostSubject: [TuT] How to make a basic AutoTyper   [TuT] How to make a basic AutoTyper EmptyFri May 10, 2013 4:18 pm

Basic AutoTyper



OK, today. I will be showing you how to make a basic autotyper.

I'm going to try my best to get straight to the point.

Things we are going to need:
1. Visual Basic 2010 (Vb.Net)
2.A Computer
-----------------------------

Go ahead and make a new form.

Once you have done that we are going to need to add some things.



List of things we need and the amount we need of them:
2 Buttons.
1 Timer.(Change timers interval to 1000 "1000=1second in milliseconds")
2 Textboxs.(Make a long one. and a short 1.)




Textbox1 is where your going to enter your message to send.
Textbox2 is the amount of times you want to send it!

Once you have those arranged on your form nice and neat or however you want it to be. We will begin the coding part.


To start off let's double click on button1 (you may change the button text to whatever you like.)

Now, that we are in the part we can code in, we can now program the button to do what we say!


So, we want this button to start a timer.

So we type:
Code:

Timer1.Interval = Textbox2.text * 1000

Timer1.Start()


Now, that we can start the timer we are going to need a way to end it now aren't we? So, we the same with button2.

So we type:
Code:

Timer1.Stop()

Now that we can turn the timer on and off. We are going to need to code the timer. So, go double click on Timer1.

We want this timer to send the keys we entered into textbox1.text at the amount of time we put in textbox2.text and then send them.

To do this we type:
Code:

SendKeys.Send(textbox1.text)
SendKeys.Send("{Enter}")

Lets debug this project and try it out. If all went well it should send the keys you enter into textbox1.text at the speed you put into textbox2.text.

***To test this I'd recommend putting in 1 second and opening notepad and letting it do it's spamming in the notepad.***








If you require any additional help please post below!
Back to top Go down
https://rayscoding.forumotion.com
 
[TuT] How to make a basic AutoTyper
Back to top 
Page 1 of 1
 Similar topics
-
» [TuT]How to make a basic HTML documents skeleton
» [Beginner TuT] How to make borders using CSS
» [TuT]Basic Html5 Skeleton [TuT]

Permissions in this forum:You cannot reply to topics in this forum
Ray's Coding :: Coding :: VB.NET-
Jump to: