Auto Scene Switcher by Active Window (Windows Only)

OBS Lua Auto Scene Switcher by Active Window (Windows Only) 2026-03-15

Changelog
  • Rewrote the script for stability and performance.
  • Removed PowerShell-based window enumeration.
  • Removed EnumWindows callback logic that was causing freezes and crashes.
  • Switched to a lightweight foreground-window polling approach using WinAPI only.
  • Simplified rule matching to use executable name plus optional window title text.
  • Fixed scene switching to use safer OBS frontend scene handling.
  • Fixed scene dropdown population and refresh behavior.

Fixed
  • Fixed OBS lag and freezing caused by heavy window enumeration methods.
  • Fixed crashes when switching to matched scenes.
  • Fixed empty or unreliable dropdown behavior from earlier versions.
Fixed some typos and a issue related with the swap delay
Back
Top