AutoHotkey v1 Reference
Optimizes AutoHotkey v1 development by enforcing best practices for script structure, memory management, and character encoding.
This skill provides a structured reference for AutoHotkey (AHK) v1 development, specifically designed to prevent the most common logic errors that occur when using AI-generated scripts. It enforces critical rules regarding the auto-execute section, mandates specific placement for #Include directives to prevent reference crashes, and provides robust patterns for COM object management and GUI development. By following this guide, developers can build stable, modular Windows automation tools that handle memory correctly and support international characters through proper UTF-8 BOM standards.
Key Features
01Strict auto-execute section management to prevent initialization failures
02Correct variable dereferencing syntax for object properties
03Guidance on UTF-8 with BOM encoding for special character support
040 GitHub stars
05Standardized project architecture for modular script development
06Mandatory ObjRelease patterns for leak-free COM object handling
Use Cases
01Building complex Windows automation scripts with multiple modular dependencies
02Creating stable GUI applications with native AutoHotkey controls
03Interfacing with system APIs and audio devices using COM objects safely