diff --git a/README.md b/README.md index 67113ee..4ecc121 100644 --- a/README.md +++ b/README.md @@ -572,6 +572,25 @@ gobs-cli projector open --monitor-index=1 "test_scene" gobs-cli projector open --monitor-index=1 "test_group" ``` +### ScreenshotCmd + +- 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 +gobs-cli screenshot save --width=2560 --height=1440 "Scene" "C:\Users\me\Videos\screenshot.png" +``` + [userconfigdir]: https://pkg.go.dev/os#UserConfigDir [obs-keyids]: https://github.com/obsproject/obs-studio/blob/master/libobs/obs-hotkeys.h \ No newline at end of file