Take Screenshot
Create a screenshot from a selected scene or source

Take Screenshot Dialog
Parameters
Connection
Select
Default:
Default
Select the configured OBS Studio Connection to connect to
| Value | Description |
|---|---|
Default | Only the default configured OBS Studio connection |
Any | All configured OBS Studio connections |
Scene
Combobox
Select a scene from the list populated from OBS Studio
You can also manually type a name into the box, or utilize
%variable% syntax to insert an argument value.Source
Combobox
Select a source from the list populated from OBS Studio
You can also manually type a name into the box, or utilize
%variable% syntax to insert an argument value.File Path
String required
Select the file path for the screenshot
When using the
Test Button in the dialog, arguments will NOT be populated.
This only tests the literal string entered into the input.Quality
Slider required
Default:
Auto
Select the image quality for the generated sreenshot
Variables
| Name | Type | Description |
|---|---|---|
Example Value: 8/4/2023 10:56:06 AMDate Time variable that can be used for file name | ||
The full path to the screenshot that was taken |
C# Usage
public bool ObsTakeScreenshot(string source, string path, int quality = -1, int connection = 0)