Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Event ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- SetTimer, MouseMovement, 5000
- ReloadScript() {
- SendEvent {RButton Down}
- SendEvent {RButton Up}
- ExitApp
- }
- MouseMovement()
- {
- SendEvent {RButton Down}
- SetDefaultMouseSpeed, 100
- random, x, 0, 1920
- random, y, 0, 1080
- CoordMode, Mouse, Screen
- MouseMove, x,y,100
- SendEvent {RButton Up}
- }
- ESC::ReloadScript()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement