AutoHotkey: Difference between revisions

From Omnia
Jump to navigation Jump to search
 
Line 46: Line 46:
; return
; return
</pre>
</pre>
== auto mouse press with escape key exit ==
<pre>
^J::
LOOP {
  MOUSECLICK, LEFT
  SLEEP, 100
}
Esc::ExitApp
</pre>
== keywords ==


== keywords ==
== keywords ==

Latest revision as of 07:22, 24 September 2025

AutoHotkey

AutoHotkey
https://www.autohotkey.com/

Tutorial

Quick Reference | AutoHotkey v2
https://www.autohotkey.com/docs/v2/index.htm

Let's Game It Out reference

I Broke This Game So Hard, Its Whole Universe Gave Up - Outpath
https://www.youtube.com/watch?v=0FKaIiRhUME

HitMeWithThatClickyClickScriptyScript.ahk :

f12::

Start:

MouseClick
sleep, 1

Goto, Start

The "sleep, 1" is 1 millisecond = 1,000 timess/second

^f12::

Start:

MouseClick
sleep, 1

KeyIsDown := GetKeyState("F12")

if KeyIsDown
	return

Goto, Start

; ^f12::
; Run, notepad.exe
; return

auto mouse press with escape key exit

^J::
LOOP {
  MOUSECLICK, LEFT
  SLEEP, 100
}

Esc::ExitApp

keywords

keywords