example-window-capture

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

example-window-capture — capture a single window by ID and write PNG.

Find the target window ID first:

go run ./cmd/example-window-list

Then:

go run ./cmd/example-window-capture <window-id> [out.png]

If no window ID is given, captures the topmost normal-layer window of the foreground app, which is often what you want.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL