Skip to content

rodddevs/lightweight-screenshot-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

██████╗  ██████╗ ██████╗ ██████╗ ███████╗██╗   ██╗███████╗██████╗ 
██╔══██╗██╔═══██╗██╔══██╗██╔══██╗██╔════╝██║   ██║██╔════╝╚════██╗
██████╔╝██║   ██║██║  ██║██║  ██║█████╗  ██║   ██║███████╗ █████╔╝
██╔══██╗██║   ██║██║  ██║██║  ██║██╔══╝  ╚██╗ ██╔╝╚════██║ ╚═══██╗
██║  ██║╚██████╔╝██████╔╝██████╔╝███████╗ ╚████╔╝ ███████║██████╔╝
╚═╝  ╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝  ╚═══╝  ╚══════╝╚═════╝ 

Lightweight Screenshot App

A tiny Windows screenshot tool. Press the ` (backtick) key from anywhere to capture your full screen and save a timestamped PNG. Pick any save directory. On-screen button works as a keyboard-less fallback.

Features

  • Global hotkey — Press ` (backtick) anywhere in Windows to take a screenshot, even when the app isn't focused
  • Full-screen capture — Captures the entire virtual screen (all monitors combined)
  • Click-to-capture — On-screen "Take Full Screen Screenshot" button if no keyboard is available
  • Custom save directory — Pick any folder; defaults to Desktop\ScreenshotApp
  • Timestamped filenamesScreenshot_YYYY-MM-DD_HH-mm-ss.png
  • Auto-clipboard — Each capture is also copied to your clipboard
  • Lightweight — Single ~8 KB native .exe, no installer, no runtime dependencies beyond Windows itself
  • Standalone — No background services, no telemetry, no internet required

Usage

  1. Run ScreenshotApp.exe
  2. Press ` (backtick) from anywhere — the screen captures and saves as a PNG (and copies to clipboard)
  3. Or click Take Full Screen Screenshot inside the app (the app hides briefly so it doesn't appear in the screenshot)
  4. Click Change Save Directory to pick where files go

The window title flashes "Screenshot Saved!" for 1.5 seconds after each capture as visual feedback.

Build

Compiling from source requires nothing but Windows itself — the build script uses the C# compiler bundled with .NET Framework (already installed on every Windows machine since Win 7).

build.bat

This invokes csc.exe from %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\ and produces ScreenshotApp.exe next to the source file. No NuGet, no Visual Studio, no SDK install needed.

How it works

  • Registers ` (virtual key code 0xC0) as a global Windows hotkey via RegisterHotKey from user32.dll
  • On hotkey press (or button click), captures SystemInformation.VirtualScreen using Graphics.CopyFromScreen
  • Saves as PNG via Bitmap.Save and copies the bitmap to the clipboard via Clipboard.SetImage
  • Cleanly unregisters the hotkey on form close

Total source: ~180 lines of C# / WinForms.

License

This project is shared for personal and community use only. It is not licensed for commercial use, resale, or inclusion in paid products. Fork it, modify it, learn from it, share it — just don't sell it.

License: Creative Commons BY-NC 4.0

About

A lightweight Windows screenshot app. Press the ` (backtick) key anywhere to capture your full screen and save a timestamped PNG. Pick any save directory. On-screen button works as a keyboard-less fallback. Built in C# / WinForms — single 8 KB executable.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors