이렇게하면 상상할 수있는 것처럼 보입니다. 단축키를 변경하려면 vKey 목록을 확인하십시오.
위 클래스 :
Imports System.Threading
메인 클래스 선언
Dim ClickTimer As System.Threading.Thread = New System.Threading.Thread(AddressOf DoClicks)
Public Declare Sub mouse_event Lib "user32" Alias "mouse_event" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Public Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Int32) As Integer
Dim exit_thread As Boolean = False
Dim ClickerHotkey As Integer = &H20 '0x20 = space
의 Form_Load :
ClickTimer.Start()
내부 클래스 :
Public Function DoClicks()
While (Not exit_thread)
If GetAsyncKeyState(ClickerHotkey) Then
mouse_event(&H2, 0, 0, 0, 1)
mouse_event(&H4, 0, 0, 0, 1)
End If
Thread.Sleep(15)
End While
End Function
Form_OnClose :
exit_thread = true
자동 크리커가 무엇인지 설명 할 수 있습니까? –
자동 클릭 커는 마우스를 자동으로 클릭하는 프로그램입니다. 덜 진보 된 자동 크리커의 예가 있습니다. http://garyshood.com/rsclient/rsclient.exe – user3568182