DIR Return Create A Forum - Home
---------------------------------------------------------
3xtGamingCoding
HTML https://3xtgamingcoding.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Visual Basic
*****************************************************
#Post#: 3--------------------------------------------------
[Tutorial] Auto Click Tutorial
DIR By: akimo360
Date: November 25, 2011, 12:27 pm
---------------------------------------------------------
Hello And Welcome. This tutorial will teach you how to create a
simple mouse click spammer or auto clicker. I hope you enjoy
this tutorial, please thank me if it helped. Lets Begin.In this
tutorial you will need these objects in your form:3 Buttons
(Start, Stop, Change Interval)1 TextBox1 TimerStep 1.First we
need to declare the mouse click event. Put this right after
"Public Class Form1"
--- Code ---
Declare Sub mouse_event Lib "user32" Alias "mouse_event"
(ByVal dwFlags As Integer, ByVal dx As Integer, ByVal dy As
Integer, ByVal cButtons As Integer, ByVal dwExtraInfo As
Integer)
--- End Code ---
Step 2.To make the mouse click, we need this code. Put this in
the Timer.
--- Code ---
Windows.Forms.Cursor.Position = New
System.Drawing.Point(Windows.Forms.Cursor.Position)
mouse_event(&H2, 0, 0, 0, 1) mouse_event(&H4, 0, 0, 0, 1)
--- End Code ---
Step 3.To trigger the timer, put this in your "Start Button"
--- Code ---
Timer1.Start
--- End Code ---
Step 4.To stop the timer, put this in your "Stop Button"
--- Code ---
Timer1.Stop
--- End Code ---
And Your Done! Test it out and post your result below.
*****************************************************
Page 1 of 1