Help us shape the future of Go! Take the 2026 Go Developer Survey

screenshot

command
v0.6.18 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command screenshot captures a screenshot of a display or window using the ScreenCaptureKit framework and saves it as a PNG file.

Usage:

screenshot                    # capture the main display
screenshot -o out.png         # save to file
screenshot -window-id 12345   # capture a specific window
screenshot -display-id 1      # capture a specific display
screenshot -list              # list available windows and displays

Jump to

Keyboard shortcuts

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