Advanced Scene Switcher

Advanced Scene Switcher 1.30.2

Warmuptill

Active Member
Hi, Could i have help with something guys? I have four sources in a scene. I'd like to use left-click on the source be the active one and the other three be deactivated, so I can switch scenes just by left-clicking on the source. Is this possible? I can't find a way. Thanks so much for the help.
Unfortunately, I don't think left clicking on a source is a trigger available via the OBS API.
You could setup a macro to hide all other sources besides the one manually shown by clicking on the eye-icon, but I think in your case simply using this script will be easier:
 

Givengy

New Member
Unfortunately, I don't think left clicking on a source is a trigger available via the OBS API.
You could setup a macro to hide all other sources besides the one manually shown by clicking on the eye-icon, but I think in your case simply using this script will be easier:
Oh, thank you very much for answering. I don't know if that's really what I'm looking for. I'm going to play poker on 4 tables and I'd like to be able to select which one to see by clicking on it with the right mouse button. I'd like to do this in the same scene without having to create 4 different scenes, just changing the source to the one I right-click on. Do you think this would be possible in some way? Thanks again.
 

Warmuptill

Active Member
Oh, thank you very much for answering. I don't know if that's really what I'm looking for. I'm going to play poker on 4 tables and I'd like to be able to select which one to see by clicking on it with the right mouse button. I'd like to do this in the same scene without having to create 4 different scenes, just changing the source to the one I right-click on. Do you think this would be possible in some way? Thanks again.
Unfortunately, right / left clicking on sources is not detectable in this plugin.
If it must be a single scene containing the four sources I believe the above script will do almost what you want:
1751910170973.gif

You will have to click the "eye" icon.

Just out of curiosity:
Why is not possible to simply use four different scenes?
Then you could easily switch between the desired configuration by just left clicking on the scene name.
 

Givengy

New Member
Unfortunately, right / left clicking on sources is not detectable in this plugin.
If it must be a single scene containing the four sources I believe the above script will do almost what you want:
View attachment 114393
You will have to click the "eye" icon.

Just out of curiosity:
Why is not possible to simply use four different scenes?
Then you could easily switch between the desired configuration by just left clicking on the scene name.
I understand your question, playing 4 tables of poker there may come a time when a lot of attention or action is required on all four tables so I was looking for something to be able to show the table as quickly as possible. Using 4 different scenes involves moving the mouse to the second screen where the OBS is, clicking on the scene and returning to the table to perform the action and so on, when the other way would be to simply right click. Another idea I have is to create 4 scenes and assign them to the buttons 1,2,3,4 on the keyboard and in each scene the selected table appears, I think that will be the best option, because there is another way which is changing to the active window or to the window that the cursor is over but in some moments I want to show what is happening in another screen that is not the active one or the one that the mouse is over because the action is simply on that table and in the others just fold the cards, I hope with this explanation you understand why I am looking for something like this and sorry for extending so much and thank you for your patience and your help!!
 

Warmuptill

Active Member
I was looking for something to be able to show the table as quickly as possible. Using 4 different scenes involves moving the mouse to the second screen where the OBS is, clicking on the scene and returning to the table to perform the action and so on, when the other way would be to simply right click.
Maybe I misunderstood what you mean by "just by left-clicking on the source".
I had understood this as "i want to right click a source in the "Sources" list in OBS".
So something in the red box below:
1751915361412.png


But I assume this is not what you meant.

Maybe you had something like this in mind:
Whenever I press the right mouse button check if the mouse cursor is in screen region A and if so show source X.
Whenever I press the right mouse button check if the mouse cursor is in screen region B and if so show source Y.
[... and so on ...]

If so, then you can set up macros like this one to achieve this effect:
1751915677755.png


You would have to set up a macro for each cursor region / source combination.
(And the regions should probably not overlap)

Instead of checking the cursor region, you could also check the window title of the current foreground window, or which process is currently in foreground, or hotkey press, ....
You can probably judge best which approach is feasible an which is not.

Another idea I have is to create 4 scenes and assign them to the buttons 1,2,3,4 on the keyboard
You probably already know, but just to mention it:
This should work natively on OBS without any third party plugin.
You can simply assign hotkeys to scenes in the settings menu of OBS.
 

KozmykTunes

New Member
Hello,

After the latest OBS update, Advanced Scene Switcher crashes OBS every time before loading. I tried re-installing it from Windows 11 Store, no difference. I can't find a way to clean uninstall it and install the latest version again. It's been working great for several years and I need to use it on July 10. Any suggestions? I'm attaching the latest crash report. Thank you! <3
 

Attachments

  • Crash 2025-07-08 20-55-27.txt
    92 KB · Views: 5

KozmykTunes

New Member
Hello,

After the latest OBS update, Advanced Scene Switcher crashes OBS every time before loading. I tried re-installing it from Windows 11 Store, no difference. I can't find a way to clean uninstall it and install the latest version again. It's been working great for several years and I need to use it on July 10. Any suggestions? I'm attaching the latest crash report. Thank you! <3
Solved!

I downloaded the plugin's Windows installer from Github site, installed it and it runs great, as before! phew! :)
 

lllCruncHlll

New Member
Hey,

I have a problem with the Twitchtoken. It says its invalid but i cant get a new one because the browser wont connect to Localhost 8080. The problem exists for two days and I have tried a lot. Turning of the firewall, checking if the Port is used somewhere else (it is not), rolling back an update and i am runnig out of ideas now.

I would really appreciate any kind of help.
Thanks.
 

jamieH

New Member
I understand your question, playing 4 tables of poker there may come a time when a lot of attention or action is required on all four tables so I was looking for something to be able to show the table as quickly as possible. Using 4 different scenes involves moving the mouse to the second screen where the OBS is, clicking on the scene and returning to the table to perform the action and so on, when the other way would be to simply right click. Another idea I have is to create 4 scenes and assign them to the buttons 1,2,3,4 on the keyboard and in each scene the selected table appears, I think that will be the best option, because there is another way which is changing to the active window or to the window that the cursor is over but in some moments I want to show what is happening in another screen that is not the active one or the one that the mouse is over because the action is simply on that table and in the others just fold the cards, I hope with this explanation you understand why I am looking for something like this and sorry for extending so much and thank you for your patience and your help!!
Definitely, create multiple scenes. If there is anything complicated in your scene (like a scoreboard), duplicate it and adjust the camera source to create the new scene. You could then add a text overlay to each scene to indicate which table is seen. Use the standard OBS hotkeys to jump between scenes with a simple keystroke. I would avoid using number keys without a modifier as this can make it really hard to enter numbers when OBS is active. Function keys or keypad keys are great to use. It sounds like your mouse is being used for other purposes, anyway. Check out View->Open Multi-view for another way to switch between scenes.
 

StadiumPK

New Member
I think that should be possible.
Basically you want to adjust the window capture sources settings to switch to whatever discord window you are currently focusing (and then also change some scene item visibility stuff)
Hopefully I understand what you are trying to achieve correctly.

You will have to use the "Source" action type to modify the settings of the window capture source.
The most straightforward way of doing this is to simply create X number of macros similar to this one:
View attachment 95687
(I am of course just using notepad as an example here)

You can also get fancy using variables and handle the settings change for any amount of teams in a single macro, but I am not sure if that is the best approach for your setup:

View attachment 95688

Let me know if you have questions!
Hey, necroing this post you had for me. We ended up deleting the "team 1" to "team 8" and now we have a bot that creates a channel for them, and its always "Username's Channel"

How do I change this so that it finds the Channel match, but then focuses the same name for Discord?

I tried the variable rate but the "current value" never went past .*Channel.* as if its not finding the wildcard partial match.

Hope this makes sense lol

Picture
1752547573744.png
 

Warmuptill

Active Member
Hey, necroing this post you had for me. We ended up deleting the "team 1" to "team 8" and now we have a bot that creates a channel for them, and its always "Username's Channel"

How do I change this so that it finds the Channel match, but then focuses the same name for Discord?

I tried the variable rate but the "current value" never went past .*Channel.* as if its not finding the wildcard partial match.

Hope this makes sense lol

Picture
View attachment 114605
What is the name of the window?
The plugin will display the current foreground window title in the "Window" condition type:

1752595913461.png
 
Top