Auto-Typer/Spammer 11-11-2012, 04:32 AM
#1
Setup;
Make the program look somewhat like the image.
(2 buttons, a textbox, and a timer.)
Then add the following to the code.
How to use it;
Make the program look somewhat like the image.
(2 buttons, a textbox, and a timer.)
Spoiler:
Then add the following to the code.
Code:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Timer1.Stop()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Timer1.Start()
End Sub
Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Timer1.Enabled = False
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{Enter}")
End Sub
Private Sub TabPage2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
End Sub
End Class
How to use it;
- Enter the desired text into the textbox.
- Click the "Start" Button. (Button1)
- When you want it to stop, click the "Stop" button. (Button2)
- To change the time between messages change the interval on the timer. (click the timer and edit into the box to the right. (shown below.))
Spoiler: