Actions58
- Streaming Actions
- Recording Actions
- Virtual Camera Actions
- Scene Actions
- Source Actions
- Audio Actions
- Filter Actions
- Transition Actions
- Media Actions
- Text Source Actions
- Hotkey Actions
- Profile Actions
- Screenshot Actions
- General Actions
Text Source → Get Text
AI-generatedSummary
Retrieve the current text content from a specified text source in OBS Studio via WebSocket.
Inputs
- Text Source Name (required) — The name of the text source (GDI+ or FreeType2) whose text you want to retrieve.
Output shape
a single JSON object containing the source name and its current text content.
The output JSON includes the properties
sourceName(string) andtext(string). The text is the current content of the specified source. Errors during retrieval produce error messages in the output if 'Continue On Fail' is enabled.
Examples
Example 1: Get text content from a text source named 'Chat Overlay'
Set 'Text Source Name' to 'Chat Overlay' and choose the 'Get Text' operation under resource 'Text Source'.