Skip to content

EngineeringMechanicsB/AHK_PrintScreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📸 AHK PrintScreen v1.1

AutoHotkey v2 Platform License Release

A fast, single-file screenshot & screen recording tool — powered by AutoHotkey v2 + FFmpeg.


✨ Features

📷 Full Screen Capture Instant full-screen screenshot ✂️ Region Capture Drag to select area
🎥 Screen Recording Full or region, multiple encoders 🪟 Window Snap Auto-detect windows during selection
🎨 20 Themes Nord, Dracula, Catppuccin, etc. 🔔 Toast Notifications Configurable position & style
Hardware Encoding NVENC / AMF / QSV support 🖥️ HDR Capture 10-bit HDR with tone mapping
📁 Auto Output Sorted into Pictures/Videos ⚙️ INI Config Fully customizable

Built for speed — uses FFmpeg DDA (Desktop Duplication API) for hardware-accelerated capture, falls back to GDI when needed.


📦 Installation

Prerequisites

Quick Start

  1. Download PrintScreen_V1.1.ahk
  2. Run the script
  3. Press PrintScreen — done!

Config file auto-created at first run.


🚀 Hotkeys

Action Default Hotkey
📷 Capture full screen PrintScreen
✂️ Capture region Alt + PrintScreen
🎥 Record full screen Ctrl + Alt + PrintScreen
🎥 Record region Ctrl + Alt + Shift + PrintScreen
❌ Cancel selection Esc

🎨 Themes

20 built-in themes:

nord · tokyonight · dracula · gruvbox · monokai
solarized-dark · solarized-light · catppuccin-mocha · catppuccin-latte
onedark · ayu-dark · github-dark · rose-pine · everforest
kanagawa · material-deep · nightfox · palenight · horizon · oxocarbon

⚙️ Configuration

Config file auto-created at:

%USERPROFILE%\.config\AHK_screenshot\screenshot.ini
Section Purpose
[General] Active theme
[Colors] Custom color overrides
[Toast] Notification position, size, opacity, duration
[Selection] Border color, thickness, overlay alpha, window snap
[Capture] Backend (auto/ddagrab/gdigrab), HDR, mouse cursor, format (png/jpg)
[Video] Framerate, encoder, quality, container, audio device
[Paths] FFmpeg path, screenshot/video output directories
[Hotkeys] Custom keybindings

Video Encoders

Encoder Hardware
hevc_nvenc / h264_nvenc NVIDIA GPU
hevc_amf / h264_amf AMD GPU
hevc_qsv / h264_qsv Intel Quick Sync
libx264 / libx265 CPU (software)

Set to auto to auto-detect the best available encoder.


🛠️ Changelog

v1.1 (2026-06-06)

  • 🆕 Window snap — hover to auto-select windows during region capture
  • 🆕 Toast notifications — configurable GUI notifications with stacking
  • 🆕 20 themes — unified theme system
  • 🆕 Encoder pre-warming — probes encoders on startup to avoid first-record lag
  • 🐛 HDR 0KB fix — fixed NVENC HDR recording producing empty files
  • 🐛 Ctrl+C signal — graceful FFmpeg shutdown to prevent corrupted recordings

v1.0 (2026-05-28)

  • Initial release: full/region screenshot & recording
  • DDA hardware capture with GDI fallback
  • HDR support

📄 License

MIT © 2026 EngineeringMechanicsB

About

screenshot and screen recording tool powered by AHK v2 and FFmpeg

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors