jacksonchen666
New Member
Hi, I want to automatically switch to a scene ("BRB") when the screen saver or lock screen (or when specifically the screen to enter your login password) is active (then switch back to the "Screen" scene when no screen saver is active).
However, I'm not sure what window/application name I should use for the trigger. I tried to grab the window name through Applescript, but window names does not seem to be useful for OBS automatic scene switching.
Some attempts to get the window name:
I could find something named "ScreenSaverEngine". I put that into OBS automatic scene switcher, record, and it does not switch scenes when the screen saver is active. Normal applications work fine, though.
However, I'm not sure what window/application name I should use for the trigger. I tried to grab the window name through Applescript, but window names does not seem to be useful for OBS automatic scene switching.
Some attempts to get the window name:
AppleScript:
tell application "ScreenSaverEngine" to run
delay 1
tell application "System Events"
get properties of every application process
end tell
I could find something named "ScreenSaverEngine". I put that into OBS automatic scene switcher, record, and it does not switch scenes when the screen saver is active. Normal applications work fine, though.