Take Screenshot

Create a screenshot from a selected scene or source
Take Screenshot Dialog
Take Screenshot Dialog

Parameters

Connection
Select
Default:
Default

Select the configured OBS Studio Connection to connect to

ValueDescription
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

NameTypeDescription
Example Value:8/4/2023 10:56:06 AM

Date Time variable that can be used for file name yyyyMMdd.hhmmss

The full path to the screenshot that was taken

 
Variables generated by all triggers and available within all action executions.

C# Usage

public bool ObsTakeScreenshot(string source, string path, int quality = -1, int connection = 0)
Read more in API > C# > Methods > Obs Studio > Scenes > Obs Take Screenshot