Advanced Scene Switcher

Advanced Scene Switcher 1.29.3

JPD

New Member
Can you please export your macros to a file and share an verbose OBS log with a time stamp of when the problem occurred?
Hi,
here are the timestamps:
10:26:30 Macro 'ACW_P04>P00' via 'run macro'
10:26:45 Macro 'ACW_P05>P00' via 'run macro'
10:27:00 Macro 'ACW_P04>P00' via 'run macro'
10:27:15 Macro 'ACW_P05>P00' executed with condition (visibility of source)
10:27:40 Macro 'ACW_P05>P00' via 'run macro'

I hope that is what you need.
 

Attachments

  • Export macros.txt
    14.4 KB · Views: 2
  • Export Log 2025-05-11 10-24-44.zip
    264.5 KB · Views: 5

Héraès

Member
Hello Warmuptill,

I want to show/hide the projector of the actual running scene on my 2nd screen, only when I need to check if the scene is correct (this saving resources compared to always enabling the projector). For that I could use the native canvas hotkey, but I can't, given that there is windows over OBS (Chatty, etc) that hide the canvas.

So I already figured out how to do that with your plugin, I even added a focus on the projector's window so it pops above every other programs.

But there is big problem ^^ :
1) it opens on the screen where the last click of my mouse has been registered (and/or the screen in focus), so where the game I play is running (that in itself is not a problem, but see point #2 just below).
2) as it focuses on the projector, if the game is in exclusive fullscreen, it minimizes it (equals to ALT-TAB).

I tried to use the projector in fullscreen instead of in a window, this allowing me to target my secondary screen, but then the problem is I can't close it, because it's not a window that can be targetted by your plugin.

REQUEST

So my demand is :
- Could you add a "Select screen" option to chose where to open its window ? Is it possible ? Does WIndows authorize that ?
- Could you add a "Put always on top" option, that we could use in place of "focus", so there's no ALT-Tabing of the fullscreen application running on the other screen ?
 

Warmuptill

Active Member
I don't know why, OBS immediately performs all the ACTIONS, even though one of them is WAIT FOR THE FILM TO END:
Film Google
As far as I can tell - can only check on my phone atm - , the media source in question seems to be paused.
In that case the “wait” of the media action will not block, as the media source is not currently being played back.

I can try to look into adding an option to more precisely configure what is being considered as a “paying” state, but I can promise any concrete timeline.
I tried to use the projector in fullscreen instead of in a window, this allowing me to target my secondary screen, but then the problem is I can't close it, because it's not a window that can be targetted by your plugin.
You should also be able to close full screen projector windows using the “Projector“ action type.
If not then that is a bug I will look into.

I am not sure at the moment if your other requests are possible.
I will look into it when I can.

Hi,
here are the timestamps:
10:26:30 Macro 'ACW_P04>P00' via 'run macro'
10:26:45 Macro 'ACW_P05>P00' via 'run macro'
10:27:00 Macro 'ACW_P04>P00' via 'run macro'
10:27:15 Macro 'ACW_P05>P00' executed with condition (visibility of source)
10:27:40 Macro 'ACW_P05>P00' via 'run macro'

I hope that is what you need.
To be honest the setup is a bit too complex for me to fully understand at the moment.

I can see that the scene item visibility condition is true at 10:27:16.203.

The actions are then executed less than a millisecond later over the span of a few seconds.

Can you elaborate a bit on what exactly is not working? (What action / set of actions)
Or even better, but probably not possible:
Can you provide a minimal example of the setup that is not willing as expected?

Sorry for not really being able to help! ☹️
 
Last edited:

enovasoft

New Member
Hi,
I am trying to build a controller that works all the time.
MULTIMEDIA Background Film "Tlo1" is a spinning basic movie, also it has to be visible as a playing movie.

Evidently in my case, the function; Wait until the entire video is played and perform..., is the most important

I don't know, maybe I started wrong, because I activate the one time playback of FILM1, FILM2, FILM3 via the VISIBILITY in the Multimedia list in one scene.
Maybe I should trigger the conditions with keys? I don't know how to make a macro that would listen.

I want it to work like this when streaming:
1. **Background 1** plays all the time in a loop, that is, it repeats indefinitely as if it were the basic background.
2. I have the option to turn on **Scene 2** (or any other, e.g. Scene 3), press the scene change button at any time, then: **Scene 1** must first fully end. IMPORTANT: so that the programme does not interrupt it in the middle - and wait until it has played all the way through, and only then does the streamer turn on **Scene 2**.
3. after **Scene 2** has finished, we automatically go straight back to **Scene 1**, which plays in a loop again.
-----

maybe use buttons ? Then maybe it would work
 
Last edited:

enovasoft

New Member
simple macro dont work:
Film Google


1747291522825.png
 

yukon92

Member
1> How can I parse the following JSON output to individual variables?
{"Clock":"5:03","Home Goals":"8","Away Goals":"1"}

2> Is there a way for me to display variables in an OBS scene that updates faster than the way I currently do it, writing the variable to a TXT file and have OBS read that file in. Is there a better, faster trick?
 
Top