Code Snippets AutoHotkey

Short texts AutoHotkey 🧑‍💻 Code snippets AutoHotkey ✍️ Reading lists AutoHotkey 👀

AutoHotKey script for using CapsLock key as a Modifier key

#NoEnv ; 권장 #SingleInstance FORCE ; 이미 작동 중이어도 Replace해서 실행 SendMode Input ; SendEvent 재생 속도가 빠르고 유저 입력보다 우선시 되서 실행됨 SetWorkingDir %A_ScriptDir% ; 현재 폴더를 시작 폴더로 설정 ; ===================================================== ; 두 번 눌러야지 CapLock이 작동하도록 수정 ; ===================================================== CapsLock:: KeyWait, CapsLock ; CapsLock이 release 될 때까지 기다림 KeyWait, CapsLock, D T0.2 […]

AutoHotkey, Accelerated Scrolling v1.3, By BoffinbraiN

; Accelerated Scrolling ; V1.3 ; By BoffinbraiN #NoEnv #SingleInstance #MaxHotkeysPerInterval 120 ;Process, Priority, , H SendMode Input ; Show scroll velocity as a tooltip while scrolling. 1 or 0. tooltips := 0 ; The length of a scrolling session. ; Keep scrolling within this time to accumulate boost. ; Default: 500. Recommended between 400 […]

XBox Controller autohotkey script to close or activate the active window (handy with games)

#SingleInstance Ignore while (true) { ;back + start -> quit active window if ((getKeyState(“joy7”) && getKeyState(“Joy8”)) || (getKeyState(“2joy7”) && getKeyState(“2Joy8”)) || (getKeyState(“3joy7”) && getKeyState(“3Joy8”))) { WinClose A sleep 900 } ;back + right stick click -> send esc if ((getKeyState(“joy7”) && getKeyState(“Joy10”)) || (getKeyState(“2joy7”) && getKeyState(“2Joy10”)) || (getKeyState(“3joy7”) && getKeyState(“3Joy10”))) { Send, !{Esc} } ;back […]

Melty blood lumina SOCD cleaning

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; Enable warnings to assist with detecting common errors. SendMode Input SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #SingleInstance, force critical on ; GroupAdd, FGC, ahk_exe MBAA.exe ;not needed anymore thanks to ccaster 3.1! GroupAdd, FGC, ahk_exe MBTL.exe ;to remap from the […]