Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; ###################################################
- ; Written by Rezel (aka Atavus / Treplos / Hadronox)
- ; ###################################################
- ; GLOBAL DIRECTIVES
- {
- ; AutoHotkey Version: 1.x
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- ;SetMouseDelay, 2
- #SingleInstance Force
- ;#WinActivateForce
- #Persistent
- #UseHook
- ;#InstallKeybdHook
- #InstallMouseHook
- SetTitleMatchMode 3
- ;#MaxThreadsPerHotkey 2 ;<-- added to handle the return from the hotkey
- }
- ;; /\/\/\/====================\/\/\/\
- ;; CUSTOMIZE SETTINGS
- ;; /\/\/\/====================\/\/\/\
- {
- ; pause (in milliseconds)
- Sleep1 := 50
- }
- ;; ========================
- ;; ||| Main Script |||
- ;; ========================
- {
- Start1:
- While (GetKeyState("LButton", "P"))
- {
- Send {Click}
- Sleep %Sleep1%
- }
- Goto, Start1
- Home::Pause
- PgUp::Reload
- End::ExitApp
- }
- ExitApp ; terminate script.
Advertisement
Add Comment
Please, Sign In to add comment