windows-gui-screenshot-capture
Captures Windows GUI screenshots from modifiable apps, third-party executables, and already-open windows, then assembles screenshot-embedded Markdown manuals. Selects the correct API for WPF, WinForms, Win32/GDI, WebView2, Avalonia, and WinUI 3; covers external-process driving, event-based readiness, GPU black frames, native dialogs, state restoration, and content validation. USE FOR: capture Windows GUI screenshot, automate app screenshots, screenshot-based user manual, document existing Windows exe, third-party desktop app screenshots, capture an already-open window, screenshot Edge or Chrome window, CopyFromScreen fallback, WPF, WinForms, Win32, WebView2, Avalonia, WinUI 3, PrintWindow black, SetWinEventHook, RenderTargetBitmap, DrawToBitmap, CapturePreviewAsync, Windows.Graphics.Capture, MessageBox #32770 capture, STA GUI PowerShell. DO NOT USE FOR: cross-platform or mobile screenshots, screen-video capture, general desktop RPA without screenshot-documentation intent, generic GUI tutorials.
- Compatibility
- Requires Windows and PowerShell 5.1+ with .NET WPF, WinForms, and Win32 interop. Every capture API is Windows-only.
Pinned to revision 7a186c5dfcf8, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/windows-gui-screenshot-capture/SKILL.md
- skills/windows-gui-screenshot-capture/notes-evals.md
- skills/windows-gui-screenshot-capture/references/engine-recipes.md
- skills/windows-gui-screenshot-capture/references/external-win32-executables.md
- skills/windows-gui-screenshot-capture/scripts/DialogCapture.ps1
- skills/windows-gui-screenshot-capture/scripts/WindowCapture.ps1
Every link opens the file at its source, pinned to the revision this page describes.