Advanced Scene Switcher

Advanced Scene Switcher 1.28.1

markbowendesign

New Member
View attachment 95863
That said, the WIKI is horribly outdated. The other tabs are going to go away entirely at some point, as all of their functionality is covered by the macros anyway.

There are lots of ways to do anything with the macros. Here's just one way to make a sequence:
View attachment 95864
View attachment 95865
View attachment 95866
The Media condition allows an early trigger, right at the end of the video, no matter how long the video is, so that the transition out of it looks nice. The still image just has a timer.

Also, if you look closely at which scene goes to what, you'll see that this is a loop.
To escape the loop, just switch to something other than these three (or whatever the loop includes).
To restart the loop, just switch to one of these, and the macros will take it from there.
Hi Aaron,

Thanks for that. Hadn't scrolled all the way down the General window as was getting interested in what I could do in the Macro window!! :-)
I see it now though so thank you for that.

Best wishes,

Mark
 

StadiumPK

New Member
weird request, but is there a way this could take a screenshot of your screen and save it, then upload a file to discord?

we have private duel games and would want to do a command where it screenshots my gamename/password, then upload to duel game channel in disc and @ mention everyone... I can do the @ mention part.

i know there are global hotkeys, so I wonder if its possible with other programs if I had them open?

I can see the script has "run" and then select program but not sure what else ...
 

AaronD

Active Member
weird request, but is there a way this could take a screenshot of your screen and save it, then upload a file to discord?

we have private duel games and would want to do a command where it screenshots my gamename/password, then upload to duel game channel in disc and @ mention everyone... I can do the @ mention part.

i know there are global hotkeys, so I wonder if its possible with other programs if I had them open?

I can see the script has "run" and then select program but not sure what else ...
Here's my idea:
1689340432784.png

Set up a source somewhere to capture what you want the screenshot of, even if it's never shown otherwise. Then this macro handles the screenshot part, and calls a script or other utility, that only needs to upload a pre-existing image. Depending on how they see spambots, Discord might even give you that part.
(YouTube used to have an automated API, but their anti-spam efforts killed it. So YT must be managed manually, or hacked to use the ever-changing manual interface automatically. Discord may or may not be the same way.)

It's much easier to use the Run action if you're already familiar with how a command line works, and I don't see a way to get around that. If you're going to make a computer do what you want, at some point you're going to have to learn the command line.
 

TheMoo_spl

New Member
Would anyone happen to know why this isn't working? I've never used the file condition of the macros before

1- It doesn't detect when the file's content has changed
2- When I press run macro, it runs no matter what the input of the .txt file, e.g. if it says 5, it'll still run.

The file will only ever contain 3, 5 or 7 which is automatically updated by a piece of software.

1689517107652.png
 

TheMoo_spl

New Member
Would anyone happen to know why this isn't working? I've never used the file condition of the macros before

1- It doesn't detect when the file's content has changed
2- When I press run macro, it runs no matter what the input of the .txt file, e.g. if it says 5, it'll still run.

The file will only ever contain 3, 5 or 7 which is automatically updated by a piece of software.

View attachment 95931
One would think I'd check the updates before posting - all working now :')
 

Warmuptill

Active Member
@Warmuptill My guy first off I LOVE YOU......second off....i was wondering
could you expand the "switch to scene" to also have an option for "vertical scenes" if you arent familiar vertical is this https://obsproject.com/forum/resources/aitum-vertical.1715/

that would change my life to be able to switch both my main and vertical
This should be possible with the following build, which should be done in a few minutes:
(Note that you will have to be logged into GitHub to be able to download it)

This particular build adds the option to send generic obs-websocket messages, which can be used to interact with the vertical plugin.
As it is a development build I would recommend to back up your settings just in case you run into any issues.

I wrote up a quick guide describing how to set this up (probably still a bit rough around the edges as I ran out of time):
 

Bairespm

Member
Hi, @Warmuptill , this
1689691160901.png
is great.

I can think of great macros if you could control the "on" and "off" (toogle)


For example, using only one hotkey to activate different zoom levels on a camera, this would avoid creating many macros to do the same thing.



1689691430019.png

1689690938118.png




It's more if I think about it, this can help to reduce many macros... unifying them and activating them if it meets a certain condition.

It's just an idea that came to my mind with this function that you added..

Thank you for updating and listening to our ideas and making them come true. adv ss is the best plugin ever.
 

AaronD

Active Member
Hi, @Warmuptill , this View attachment 95971 is great.

I can think of great macros if you could control the "on" and "off" (toogle)


For example, using only one hotkey to activate different zoom levels on a camera, this would avoid creating many macros to do the same thing.



View attachment 95972
View attachment 95970



It's more if I think about it, this can help to reduce many macros... unifying them and activating them if it meets a certain condition.

It's just an idea that came to my mind with this function that you added..

Thank you for updating and listening to our ideas and making them come true. adv ss is the best plugin ever.
I don't disagree with that, but it does remind me of "self-modifying software", which is usually a massive red flag in professional work. It's not to the point yet, of running automatically-generated code that was never in the original at all, which is where the most of the red flags come from (how do you debug THAT?!), but it's enough to bring the idea to mind.

This is definitely a programming language now, so I think it would really help to look at the software industry's best practices in how to manage software in general, and apply the same concepts here.
 

Bairespm

Member
I don't disagree with that, but it does remind me of "self-modifying software", which is usually a massive red flag in professional work. It's not to the point yet, of running automatically-generated code that was never in the original at all, which is where the most of the red flags come from (how do you debug THAT?!), but it's enough to bring the idea to mind.

This is definitely a programming language now, so I think it would really help to look at the software industry's best practices in how to manage software in general, and apply the same concepts here.

I'm sorry, I'm not sure what you're saying, so I don't understand what your point is. My idea is just an idea that might help to solve something that I don't know if it happens to everyone but it does happen to me... I'm filling up with macros, hehe. and perhaps this will serve to minimize them, how to execute, for example, several zoom levels with a single button. It is not automatic since I have to press a button, but it does use conditions.
 

WulleSeiner

New Member
Hi,
I only see two tabs. `General` and `Advanced`. But I see everywhere that there should be much more. Have I done something wrong while the installation and how can I fix that?
1689699324788.png
 

Warmuptill

Active Member
Hi, @Warmuptill , this View attachment 95971 is great.

I can think of great macros if you could control the "on" and "off" (toogle)


For example, using only one hotkey to activate different zoom levels on a camera, this would avoid creating many macros to do the same thing.



View attachment 95972
View attachment 95970



It's more if I think about it, this can help to reduce many macros... unifying them and activating them if it meets a certain condition.

It's just an idea that came to my mind with this function that you added..

Thank you for updating and listening to our ideas and making them come true. adv ss is the best plugin ever.
Thanks for the suggestion - I will look into it!

I don't disagree with that, but it does remind me of "self-modifying software", which is usually a massive red flag in professional work. It's not to the point yet, of running automatically-generated code that was never in the original at all, which is where the most of the red flags come from (how do you debug THAT?!), but it's enough to bring the idea to mind.

This is definitely a programming language now, so I think it would really help to look at the software industry's best practices in how to manage software in general, and apply the same concepts here.
I agree - thanks for the warning!
On the other I would see the burden of adhering to those best practices more on the "programmer" / creator of the macros.

Hi,
I only see two tabs. `General` and `Advanced`. But I see everywhere that there should be much more. Have I done something wrong while the installation and how can I fix that? View attachment 95973
Simply uncheck this box on the General tab to show the "old" tabs:
200110831-02c6dce9-4f20-4c91-be41-e8d9fdebcb55.PNG

In general I would strongly recommend to use macros instead however.
 

Warmuptill

Active Member
Hi, @Warmuptill , this View attachment 95971 is great.

I can think of great macros if you could control the "on" and "off" (toogle)


For example, using only one hotkey to activate different zoom levels on a camera, this would avoid creating many macros to do the same thing.



View attachment 95972
View attachment 95970



It's more if I think about it, this can help to reduce many macros... unifying them and activating them if it meets a certain condition.

It's just an idea that came to my mind with this function that you added..

Thank you for updating and listening to our ideas and making them come true. adv ss is the best plugin ever.
A build with the requested functionality will be available here in a few minutes:
ActionToggle.PNG

Let me know if you run into any issues!
 

Freso

New Member
Is there a way to do (the equivalent of) Transform→Centre to screen for a given source?

I tried looking through the wiki on GitHub and searching this (long!) thread but didn’t find anything that seemed to discuss this. The "Scene item transform" seems to only allow for absolute positioning (though I might be missing something?). I guess I could maybe do some magic with getting scene dimension values and saving them in variables and then calculating the offset position for centering the source and then using that for transform… but OBS clearly already has the function to do all of that heavy lifting, so it would be much more convenient to be able to just call that.
 

Bairespm

Member
A build with the requested functionality will be available here in a few minutes:
View attachment 95998
Let me know if you run into any issues!

hi @Warmuptill
He tried a thousand ways but couldn't get it to work correctly, just like that. And it is because it is necessary to add the condition in MACRO if it is active or deactivated
I show in the attached image.

I tried it with the counter, it works but it only allows me to perform one action... example, if it is greater than 1, it activates macro 1 and deactivates macro 2, but I can't do it with more than two macros.
Could it be added as an option there?

1689855492586.png


I have also noticed that it is very difficult to know which macro I am referring to when I choose it by number. Is it possible there to throw me the menu of which options I have created instead of numbers? that would help a lot

1689855808427.png


Thank you in advance for your effort and your time... I tell you that 90% of the time I only use adv ss in obs jaja I've already removed most of the plugins because I'm being able to do everything with an adv ss, and honestly this would help me a lot to reduce the macros.. I have about 15 groups with more than 10 macros per group... it's a lot to make it work fast.. so this, as I was saying, helps me reduce the macros and not do so many adv ss processes . thank you thank you thank you
 

Warmuptill

Active Member
Is there a way to do (the equivalent of) Transform→Centre to screen for a given source?

I tried looking through the wiki on GitHub and searching this (long!) thread but didn’t find anything that seemed to discuss this. The "Scene item transform" seems to only allow for absolute positioning (though I might be missing something?). I guess I could maybe do some magic with getting scene dimension values and saving them in variables and then calculating the offset position for centering the source and then using that for transform… but OBS clearly already has the function to do all of that heavy lifting, so it would be much more convenient to be able to just call that.
Thank for the suggestion!
I will try to look into it on the weekend.

And it is because it is necessary to add the condition in MACRO if it is active or deactivated
Understood - I will try to add this functionality on the weekend.

I have also noticed that it is very difficult to know which macro I am referring to when I choose it by number. Is it possible there to throw me the menu of which options I have created instead of numbers?
I am not sure if the work of showing the actual action widget itself is worth the amount of time it would take to implement.
How about simply stating what type of action it is next to the index? (For example, "Audio", "File", "Scene switch", ...)
 

Bairespm

Member
Thank for the suggestion!
I will try to look into it on the weekend.


Understood - I will try to add this functionality on the weekend.


I am not sure if the work of showing the actual action widget itself is worth the amount of time it would take to implement.
How about simply stating what type of action it is next to the index? (For example, "Audio", "File", "Scene switch", ...)
@Warmuptill Yes of course, it seems like an excellent solution.
Thank you again for your time that you dedicate to help us
 

Warmuptill

Active Member
Is there a way to do (the equivalent of) Transform→Centre to screen for a given source?

I tried looking through the wiki on GitHub and searching this (long!) thread but didn’t find anything that seemed to discuss this. The "Scene item transform" seems to only allow for absolute positioning (though I might be missing something?). I guess I could maybe do some magic with getting scene dimension values and saving them in variables and then calculating the offset position for centering the source and then using that for transform… but OBS clearly already has the function to do all of that heavy lifting, so it would be much more convenient to be able to just call that.
A build with the additional transformation options will be available here in a few minutes:
Transform.PNG

You will have to be logged into GitHub to be able to download the release.
Let me know if that should be an issue for you.

Please back up your settings before testing the build just in case.
If you should run into any issues please do let me know about them!
 

Bairespm

Member
hi @Warmuptill , I'm trying to create a countdown with adv ss and the variables but I haven't been able to. Is there a way to do it? I want to create a countdown to display in a source and when I'm done, change the scene. can it be done?
 
Top