From d41ad994b75ccebf2084c4897f028e3f8a851ae9 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Wed, 4 Jun 2025 12:51:47 +0100 Subject: [PATCH] add screenshot section --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 1928184..dd71a56 100644 --- a/README.md +++ b/README.md @@ -580,6 +580,24 @@ obsws-cli projector open --monitor-index=1 "test_scene" obsws-cli projector open --monitor-index=1 "test_group" ``` +#### Screenshot + +- save: Take a screenshot and save it to a file. + - flags: + + *optional* + - --width: + - defaults to 1920 + - --height: + - defaults to 1080 + - --quality: + - defaults to -1 + + - args: + +```console +obsws-cli screenshot save --width=2560 --height=1440 "Scene" "C:\Users\me\Videos\screenshot.png" +``` ## License