Skip to content

Instantly share code, notes, and snippets.


; Version: 2022.06.30.1
; https://gist.github.com/49a60fb49402c2ebd4d9bc6db03813a1
/* ;region Example
now := A_Now
junction := A_Desktop "\Junction." now
directory := A_Desktop "\Directory." now
FileCreateDir % directory
FileOpen(directory "\test.txt", 0x1).Write("Hello World!")
@anonymous1184
anonymous1184 / HashFile.ahk
Last active December 24, 2023 14:46
Quick File Hashing

; Version: 2023.04.20.1
; Usages and examples: https://redd.it/m0kzdy
; Configuration ↓
wide := true ; Display the full hashes
; Enables/disabled algorithms
use := {}
@anonymous1184
anonymous1184 / VSCode.md
Last active March 19, 2024 18:42
AHK Debugging with Visual Studio Code

AHK Debugging with Visual Studio Code

Created on 2021/11/03 with VSCode version 1.53.
Last revision on 2022/06/30 with VSCode version 1.68.2.

I'm not a native English speaker, so please report inconsistencies to [u/anonymous1184][00] (or send a .patch of the [source][01]).

Table of Contents

@anonymous1184
anonymous1184 / AutoClickers.md
Last active February 26, 2024 04:29
Auto-Clickers

Auto-Clickers

Toggle + Click & Hold (loop)

cps := 30

return ; End of auto-execute
@anonymous1184
anonymous1184 / AppVol.ahk
Last active June 12, 2024 00:50
AppVol()
#Requires AutoHotkey v2.0
AppVol(Target := "A", Level := 0) {
if (Target ~= "^[-+]?\d+$") {
Level := Target
Target := "A"
} else if (SubStr(Target, -4) = ".exe") {
Target := "ahk_exe " Target
}
try {
@anonymous1184
anonymous1184 / README.md
Last active February 16, 2024 11:55
ULID

Universally Unique Lexicographically Sortable Identifier

Canonical Spec: https://github.com/ulid/spec

ULID()

  • By default operates in monotonic mode.
  • ULID() is an alias of ULID.Monotonic().
  • Use ULID.Random() for non-monotonic mode.
@anonymous1184
anonymous1184 / README.md
Last active January 19, 2024 04:58
WinHttpRequest.ahk

WinHttpRequest Wrapper

Usage and information: https://redd.it/mcjj4s

AutoHotkey v2.0

  • [WinHttpRequest.ahk]

AutoHotkey v1.1