Skip to content

Instantly share code, notes, and snippets.

@RJNY
RJNY / pause.ahk
Last active January 6, 2026 01:29
#Requires AutoHotkey v2.0
#SingleInstance Force
DetectHiddenWindows true
LockFile := A_Temp "\AutoPauseResume.lock"
; Check if the lock file exists before deleting it
if FileExist(LockFile)
FileDelete(LockFile)