Question / Help Hotkey to switch Scenes?

WurmD

New Member
Hi! Just starting out with OBS,

I'm going to narrate this forum game http://forums.erfworld.com/viewtopic.php?f=23&t=13327 for the entertainment of my friends :) (to participate it's here: http://forums.erfworld.com/viewtopic.php?f=23&t=13298 the more the merrier ^_^)

I've already created 3 Scenes, and I'd like to hotkey going from the 1st to the 2nd then to the 3rd.

I've already figured out that you make set a hotkey to each specific scene,
and that you can manually click on the scenes while recording
and that if you're in OSB, and have the scenes selected, you can switch between them with the arrow-keys

Now, what I'm looking for is a single hotkey to "move to next Scene" on the list, without being in the OSB window. (imagine there were 20 scenes, we'd have a hard time keeping track of all the hotkeys)

Does that exist? :)

Cheers!
 
Last edited:
Go under settings hotkeys and add a key to the scene you wanna switch (switch to scene).
You can add a key for each scene.
 
ahm... In my original post I mention I already figured that one out.

I've clarified my post with italics, sorry for not being clear enough. Thanks for replying tho.
 
I am looking for a solution for this too. I have a single free button on my remote that I want to use to step to the next scene after every press. I can map the button to a keypress but how to make this work in OBS

(This software is bloody epic by the way. Absolutely bloody fantastic)
 
Doesn't Transition do this? Set a hotkey for transition and it'll toggle between the last 2 you selected.
 
Maybe the Advanced Scene Switcher plugin can do this? I know it can execute a particular sequence timed, not sure about hotkeys.
 
I will not be close to my computer when streaming & recordning sice I am working with dance classes. I would be happy with using the arrow keys to navigate through the scenes. I have a Logitech Presenter remote that has keys on it. However, tthese keys are left and right arrow keys and in OSB I am only taken to the first ans last scene.

I would love to find a solution where the right & left keys could switch the scenes.

I have checked with the advanced scene switcher, but it does not support any changing of the original scheme as far as the arrow keys are concerned!

Any other solution?
 
The only thing I can think of would be to set a hotkey to toggle the advanced scene switcher on and off, and then set a Scene Sequence trigger to go off after 1 second.

Then you could use a key to turn the switcher on, wait for the switch, and then turn the switcher off until you want the next scene.

Might work.
 
Ok, I realize this is a few years late, but I just figured out how to do this.

The trick is:
- recognizing that "down arrow" and "up arrow" are the keypresses for "next" and "previous" slides while the Scene panel has focus.
- installing VoiceAttack, a macro software that can direct actions to a specific open window, even if it's not in focus.
- undocking the "Scenes" panel from the rest of OBS so it can be targeted separately from the rest of the application.

So, to do this:

1) Download and install VoiceAttack (https://voiceattack.com)... if you just want to set two simple commands for "Next Scene" and "Previous Scene", the free version is all you need with a maximum of 20 commands and one profile. (If you need more than that, it's $10 USD. Worth it.)

2) Run OBS, then undock the Scenes panel by dragging it out of the window.

3) Run VoiceAttack, then edit the current profile. Rename the profile "OBS", optionally delete all commands that came with it.

4) Click the "Options" button next to the profile name. Under the "Profile General" tab --> "Send commands to this target", select the option to choose a window from the drop-down list, and choose "Scenes" (the window must be visible before you click the "Options" button to see it in the list)... do not use "OBS [version] [profile] [scene collection]", because that will no longer work when your OBS version, profile, or scene collection changes. Selecting "Scenes" should always work as long as you've undocked that panel. Click "OK" to return to the profile.

5) Select "New Command"... on the next screen, you can use the first checkbox option "When I say" to enter a phrase you'd like to use for voice control, or the second option "When I press keys" to use a keypress macro. You can enter "Next Scene" in the first box if you'd like to switch after saying that phrase.

6) Under "When this command executes, do the following sequence:" select the "Key Press" button.

7) Make sure the "Press and Release Key(s)" option is selected, and press the Down Arrow key. (The rightmost box should say "Down" afterwards. Note that there's a difference between the regular down arrow key, and the number pad down arrow key, you can use either or both.) Click OK, the command should show up in the list next to "Key Press" button now.

8) By setting the profile to always target the "Scenes" window, commands here *should* always default to that.... however, the arrow keys are an exception, since VoiceAttack uses those keys for simple navigation within its own interface. Executing the command right now just arrows down in VoiceAttack if "Scenes" isn't in active focus. To fix this and be sure that the "Scenes" window gets the arrow down, check the "Send command to this target:" option, and select "Scenes" from the dropdown list of windows. (Exactly the same as with the overall profile, except now you're providing a specific override.)

9) Make sure that "Stop command if target window focus is lost" is unchecked, and probably a good idea to check both options above that to ensure the command always runs: "Allow other commands to execute while this one is running" and "Always execute this command"

10) Repeat steps 5-9 for a "Previous Scene" entry.

11) If everything is set correctly, you should now be able to right-click a command in the Profile window, select "Execute", and see the scene change in OBS.

12) If you have a metric buttload of scenes that you want shortcuts for by names that you can remember, assign all them standard completely forgettable macro key shortcuts in OBS, then duplicate each macro key combination in VoiceAttack with a paired voice command.


Be aware that as long as the main OBS window is visible, executing a command usually brings it to the forefront, which could be annoying and disruptive. You can't minimize the application to the taskbar, because the "Scenes" undocked panel will also minimize, and then is no longer targetable by VoiceAttack. You can, however, click the OBS icon in the system tray, which hides the main OBS window to the tray, but leaves the "Scenes" panel visible on screen where VoiceAttack can control it. If you open a fullscreen or windowed projector for monitoring, it also does not minimize with the main OBS window to the tray.

I hope this helps someone else out there, it's certainly going to make some things easier for me.
 
I am almost ready to release my obs controller software. you can simply call obs.nextScene() in there.

 
I actually want the opposite of what all of you wanted. I don't want it to switch scenes using the keyboard, only want it to switch scenes using a mouse click. Is there a way to turn off the keyboard switching of scenes, besides clicking out of the scene box? We are using a wireless remote to switch the slides in ProPresenter, but in OBS we also switch back and forth between a split scene slides/camera, or full camera (we have a two input capture card). If someone forgets to bring ProPresenter back to the front, then OBS will switch scenes when the presenter uses the remote.
 
Back
Top