Sunday, 12 August 2012

Auto Typer in vb.net

This tutorial will teach you how to make your very own Auto Typer. Auto Typers are popular across the web and in some cases people charge money for them. With this easy tutorial, you can create your own customizable Auto Typer and share it with your friends. We have covered Timers in a previous tutorial but this tutorial will cover how to Send Keys. Copy and paste below Code
Public Class Form1

    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 Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Timer1.Interval = TextBox2.Text * 1000
        Timer1.Start()
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        Timer1.Stop()
    End Sub

End Class