본문 바로가기
Programing/vb.net

visual basic,비주얼베이직,vb .net-자동 타이핑,도배,auto type,sendkeys,typing, typewriting, type toturial

by 고니의 경제주식 2017. 1. 25.
반응형


auto type.exe


위와 같이 콘트롤을 배치합니다.


inteval 은 500 즉 0.5초로 합니다.


Public Class Form1


    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick

        SendKeys.Send(TextBox1.Text)

        SendKeys.Send("{Enter}")

    End Sub


    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

        Timer1.Start()


    End Sub


    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click

        Timer1.Stop()

    End Sub

End Class


반응형