Smart Scene Auto Switcher Script

OBS Lua Smart Scene Auto Switcher Script 2026.09.24-1


Smart Scene AutoSwitcher automatically changes your OBS scene when you focus an application or a matching window title.

Configure rules for any Windows application. Select a detected application from the dropdown or type an executable filename manually, then choose the scene to activate.

Features
  • Up to 12 configurable rules.
  • Match applications by executable name, window title, or both.
  • Application dropdown with manual entry.
  • Adjustable checking interval and switching cooldown.
  • Visible warnings for incomplete rules and missing scenes.
  • Delayed detection test to help identify applications and troubleshoot matching.
  • Configurable pause/resume hotkey.
  • Studio Mode support, switching the Program scene.
Installation
  1. Download the Lua script.
  2. Open Tools → Scripts in OBS Studio.
  3. Click + and select the downloaded file.
  4. Enable a rule, choose an application or enter a title filter, and select its target scene.
  5. Focus that application to trigger switching.
Rules run in order: the first valid matching rule wins. If nothing matches, the current scene stays selected.

Requirements

Windows and OBS Studio with its bundled Lua scripting support. No Python installation or additional plugin is required.

Tested with OBS Studio 32.2.2 on Windows.

Troubleshooting

Check the status panel for configuration warnings. Use Test detection in 5 seconds, focus your target application, then refresh the status or open Script Log to see the result.

License: MIT
Disclosure: Some of the assets and part of the code was generated using AI, all commits are manually reviewed by a human before release !
Author
MMLTech
Downloads
28
Views
28
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from MMLTech

Back
Top