NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

Write a note in this area. It's really easy to ;Notes
Written By: Hellbent AKA. CivReborn
Youtube Channel: https://www.youtube.com/channel/UCge0TKjySLXd8xeLib8F0rA
Date Started: June 24th, 2016
Date Of Last Edit: June 24th, 2016
Last PasteBin Save:
Description: This is a simple auto clicker with GUI
*/

#SingleInstance, Force
CoordMode, Mouse, Screen
SetMouseDelay, -1
; Global Variables
;-----------------------
Global Always :=
Global Delay := 0
Global X :=
Global Y :=
Global Start_Paused :=
Global Click_At_Cursor :=
Global Number_Of_Clicks :=
Global Current_Click_Count := 0
Global Forever :=
Global SetAmount :=
Global None :=
Global OnGUI :=
Global OnTooltip :=
Global Click_Display :=
; GUI Layout
;-----------------------
Gui, Font, cAqua s8 ;H
Gui, Add, Checkbox, x10 gAlways_On_Top vAlways Checked,: Always On Top ;E
Gui, Add, CheckBox, x+10 vStart_Paused gSubmitAll, : Paused At Start ;L
Gui, Add, Checkbox, x+10 vClick_At_Cursor gSubmitAll, : Click At Cursor ;L
Gui, Add, Button, x10 w170 h13 gSet_Click_Location, Set Click Location ;B
Gui, Add, Edit, cblack x+10 w150 h15 vDisplay_Click_Location, ;E
Gui, Add, Text, x10, Set delay between clicks: ;N
Gui, Add, Edit, cblack x+20 w150 h15 vSet_Delay gSubmitDelay ;T
Gui, Add, Text, x+10, (ms) ;H
Gui, Add, Text, x10, Duration of auto clicker: ;E
Gui, Add, Radio, x+20 gSubmitAll vForever, Forever ;L
Gui, Add, Radio, x+20 gSubmitAll vSetAmount, Set Amount ;L
Gui, Add, Text, x10, Number of clicks: ;B
Gui, Add, Edit, cblack x+20 w225 h15 vNumber_Of_Clicks gSubmitAll, ;E
Gui, Add, Text, x10, Click counter: ;N
Gui, Add, Radio, x+20 gSubmitAll vNone, None ;T
Gui, Add, Radio, x+20 gSubmitAll vOnGUI, On Gui ;H
Gui, Add, Radio, x+20 gSubmitAll vOnTooltip, Tooltip ;E
Gui, Add, Text, x10, Click Count: ;L
Gui, Add, Edit, cBlack x+20 w150 h15 vClick_Display, ;L
Gui, Add, Button, x+20 w80 h13 gReset_Count, Reset Count
Gui, Add, Button, x10 w330 h13 gDisplayHotkeys,?? Hotkeys ?? ;B
Gui, Add, Button, x10 w150 h20 gStart_Auto_Clicker, Start ;E
Gui, Add, Button, x+30 w150 h20 gResetApp, Reset ;N
Gui, Color, Black ;Aqua ;Silver ;T
Gui, +AlwaysOnTop
Gui, Show, w350 h190, ***Hellbents Auto Clicker***
return
; Lables
;------------------

GuiClose:
ExitApp
return
SubmitDelay:
Gui, Submit, NoHide
Delay := Set_Delay
if(Delay<0)
{
Delay := 0
}
return
Reset_Count:
Current_Click_Count := 0
GuiControl,,Click_Display,%Current_Click_Count%
return
ResetApp:
Reload
return
Always_On_Top:
Gui, Submit, NoHide
if(Always==1)
{
Gui,+AlwaysOnTop
}
if(Always==0)
{
Gui,-AlwaysOnTop
}
return
DisplayHotkeys:
msgbox,4096,Hellbents Auto Clicker, Press Ctrl+Z to Pause the Auto Clicker`nPress Ctrl+X to Exit the Auto Clicker`n`nBy Hellbent AKA The Auto Clicker Guy`n`nChannel: https://www.youtube.com/channel/UCK7iJkWCFfDwLmAKf4JlCEw
return
SubmitAll:
Gui, Submit, NoHide
return

Set_Click_Location:
Get_X_And_Y()
GuiControl,, Display_Click_Location,`t %X% %Y%
;msgbox, %Number_Of_Clicks%
return
Start_Auto_Clicker:
if(Start_Paused==1)
{
Pause On
}
Run_Auto_Clicker()
return
; Functions
;---------------------
Get_X_And_Y()
{
pressed := 0
Loop
{
MouseGetPos, tempX, tempY
Tooltip, X = %tempX% Y = %tempY%
GetKeyState, Mouse_State, LButton
Mouse_State := GetKeyState("LButton")
if(Mouse_State==0)
{
pressed := 1
}
if(pressed==1)
{
if(Mouse_State==1)
{
X := tempX
Y := tempY
pressed := 0
Tooltip,
break
}
}
}
}
Run_Auto_Clicker()
{
if(Click_At_Cursor==1)
{
if(Forever==1)
{
Loop
{
Click,
if(OnGui==1)
{
Current_Click_Count++
GuiControl,,Click_Display,%Current_Click_Count%
}
if(OnTooltip==1)
{
Current_Click_Count++
Tooltip, %Current_Click_Count%
}
Sleep, %Delay%
}
}
if(SetAmount==1)
{
Loop %Number_Of_Clicks%
{
Click,
if(OnGui==1)
{
Current_Click_Count++
GuiControl,,Click_Display,%Current_Click_Count%
}
if(OnTooltip==1)
{
Current_Click_Count++
Tooltip, %Current_Click_Count%
}
Sleep, %Delay%
}
}
}
if(Click_At_Cursor==0&&X!=Null)
{
if(Forever==1)
{
Loop
{
Click, %X% %Y%
if(OnGui==1)
{
Current_Click_Count++
GuiControl,,Click_Display,%Current_Click_Count%
}
if(OnTooltip==1)
{
Current_Click_Count++
Tooltip, %Current_Click_Count%
}
Sleep, %Delay%
}
}
if(SetAmount==1)
{
Loop %Number_Of_Clicks%
{
Click, %X% %Y%
if(OnGui==1)
{
Current_Click_Count++
GuiControl,,Click_Display,%Current_Click_Count%
}
if(OnTooltip==1)
{
Current_Click_Count++
Tooltip, %Current_Click_Count%
}
Sleep, %Delay%
}
}
}
Tooltip,
}
; Hotkeys
;------------------------
^z:: Pause
^x::ExitApp
RAW Paste Data
share with others. Click here ...
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.