You have to enable the option "Realizar acciones solo en el cambio de condicion"
If you make the ad into its own scene or source, yes. No different from anything else at that point.is there a way for this plugin to run an advertisement or possibly type in chat so an ad is ran?
You will need two separate macros:Hi @Warmuptill please helpme sorry for my english
if scene is A then hotkey Alt+e , this works but the same hotkey continues to be pressed and this causes me problems, how can I make it so that when I go to a scene A or B or C the Hotkey Alt+e is activated only once once and when you exit those scenes to any other the same hotkey Alt+e is activated again once. I use it as a switch with another program in windows that if it is in one of those scenes it is activated and when it exits those scenes it must be deactivated. The only way that program accepts me is by pressing the same hotkey again. How do I do it, thank you, your program is incredible.
la macro para salir me muestra lo mismo exactamente igual que para entrar esta bien?Necesitará dos macros separadas:
Lo importante para evitar que la tecla de acceso rápido se presione continuamente es marcar la casilla de verificación "Realizar acciones solo en cambio de condición" en la parte superior de la pestaña de macro. (Como también lo mencionó [USUARIO=242958]@CodeYan[/USUARIO])
- Uno para el caso cuando ingresas a la escena
View attachment 88495- Uno para el caso cuando abandonas la escena
View attachment 88496
[ADJUNTAR=completo]88497[/ADJUNTAR]
Tenga en cuenta que solo presionar la tecla durante 1 ms, como se configuró en su captura de pantalla, puede ser demasiado corto para que algunas aplicaciones lo noten.
¡Hazme saber si tienes alguna pregunta!
Well that fixed one issue kinda but now my issue is the macro runs instantly if I hit the stop button on the music file. Because when obs starts up it starts playing the file whenever that scene is selected and if I'm not ready to hit stream starting then I have to pause/stop the music and this makes it instantly run the macro. Now how do I fix this issue?This will sound dumb, but make sure you set it to Stream Switcher to active in the general tab. I finally updated mine to be compatible with OBS 28 and forgot this had to be switched to on for anything to work.
Sorry I attached the same image twice by accident.la macro para salir me muestra lo mismo exactamente igual que para entrar esta bien?
I would suggest to either enable the some visual guides to help you understand when which action is executed or use a different action type for testing purposes. (e.g. mute Desktop Audio / append to a file / ...)And is there any way to validate if the ALT+A hotkey was previously pressed before pressing it again
I would suggest the following setup if I understood your requirements correctly:una pregunta más.
si en lugar de ser una sola escena hay varias
ejemplo
Quiero presionar ALT+A solo una vez
si la escena 1 está activa
o si la escena 2 está activa
o si la escena 3 está activa
lo mismo si salgo de las escenas que se presiona una vez si salgo de alguna de esas escenas
para agregar mas detalle..
Si la escena 1 está activa y vas a la escena 2 o a la escena 3, no vuelves a presionar ALT+A
De la misma forma, si la escena 2 está activa y vas a la escena 1 oa la escena 3, no vuelves a presionar ALT+A.
Solo si salgo de alguno de ellos es presionando ALT+A nuevamente
Depending on what type of media source you are using you have the option to not automatically start the playback if the source becomes active.Well that fixed one issue kinda but now my issue is the macro runs instantly if I hit the stop button on the music file. Because when obs starts up it starts playing the file whenever that scene is selected and if I'm not ready to hit stream starting then I have to pause/stop the music and this makes it instantly run the macro. Now how do I fix this issue?
Also if I switch to say the credits screen it instantly goes back to the gaming screen and then sometimes it will switch back then to the stream end screen. It's all $_(#&) up
I don't understand what is going on, why does it seem so broken.
I should have just stuck with obs 27 and the advanced scene switched that went with it. Never had an issue.
I think you are referring to the old "Sequence" tab.Advanced Scene Switcher Macro Help
I used to be able to use the Transition tab to automatically switch back and forth from “Scene 1” and “Scene 2” every 30 seconds. No longer can do that with the update. Can’t figure out how to do that with the Macros. Please help?
My first thought on that, is that you're trying to have too few scenes for what you're doing, so that the structure of each scene, and the rules to automate them, have to be too complicated to try and make the system do what you want.Well that fixed one issue kinda but now my issue is the macro runs instantly if I hit the stop button on the music file. Because when obs starts up it starts playing the file whenever that scene is selected and if I'm not ready to hit stream starting then I have to pause/stop the music and this makes it instantly run the macro. Now how do I fix this issue?
excellent, thankssssssssss It works perfectSorry I attached the same image twice by accident.
I have updated my previous comment.
I would suggest to either enable the some visual guides to help you understand when which action is executed or use a different action type for testing purposes. (e.g. mute Desktop Audio / append to a file / ...)
I would suggest the following setup if I understood your requirements correctly:
I hope I understood your requests correctly.
- A macro that is used to check if the current scene is either scene 1, scene 2, or scene 3.
This macro will only be used as a reference in other macros and thus will not need any actions.
View attachment 88543- A macro handling the case when entering either of the three scenes.
There we can reuse the previously created macro.
View attachment 88544- A macro handling the case when leaving either of the three scenes.
It must also be made sure that when leaving either of the three scenes the now active scene is not once again scene 1, scene 2, or scene 3.
So we can reuse the previously created macro once again.
View attachment 88545
Let me know if you have further questions! :)
You have to configure the obs-websocket settings on the remote computer you want to execute the hotkey press on under the tools menu.In re: Websockets
Is there a good tutorial on how to communicate from one Advance Scene Switcher instance on one system to on another? I want to send a websocket request to another OBS instance on another computer to tell it to send a hotkey to an external app on the second computer.
Thanks!
--Katt. =^.^=
You have to configure the obs-websocket settings on the remote computer you want to execute the hotkey press on under the tools menu.
(Removed for brevity's sake
Hope that helps!
For more details on the websocket action and condition have a look at this wiki entry:
![]()
Websockets
An automation tool for OBS Studio. Contribute to WarmUpTill/SceneSwitcher development by creating an account on GitHub.github.com
{
"d": {
"requestData": {
"requestData": {
"message": "BGM"
},
"requestType": "AdvancedSceneSwitcherMessage",
"vendorName": "AdvancedSceneSwitcher"
},
"requestId": "1",
"requestType": "CallVendorRequest"
},
"op": 6
}
BGM
Just to clarify:Fixed one issue on the receiving side; the hotkey sequence was incorrectly formed. It now sends the correct keystroke sequence and the intended program catches it as it should.
Now, I'm trying to figure out how to send the message to start the BGM playback.
On the sending machine, I have this as the request to the Advanced Scene Switcher process on the receiving machine:
Code:{ "d": { "requestData": { "requestData": { "message": "BGM" }, "requestType": "AdvancedSceneSwitcherMessage", "vendorName": "AdvancedSceneSwitcher" }, "requestId": "1", "requestType": "CallVendorRequest" }, "op": 6 }
On the receiving side, I have the following as the condition to look for:
Code:BGM
I'm basing the request on the "testing" example in the wiki entry about Websockets.
The condition on the sending machine is being triggered correctly because I see that the Websocket message count indicator in OBS's Websocket dialog increment by 1. However, either I'm forming the request incorrectly, I'm incorrectly checking for the desired condition, but more than likely, it's a combination of both. It must be the fact that I don't write any software that talks Websockets (plus I'm not a dev in general, actually) and likely a fundamental lack of understanding of how it works.
Any suggestions?
Thanks.
--Kat. =^.^=
Just to clarify:
Are you using the advanced scene switcher to send the message on one machine and also the advanced scene switcher to receive the messages on the other machine?
If so you can just use the exact same message in the action on one machine and in the condition on the other machine.
You will not have to manually form the json string containing the vendor request this will be done by the plugin automatically.
If you are instead using an external tool to send this message via the "AdvancedSceneSwitcherMessage" vendor request can you give more details on what you have set up exactly?
Did you authenticate first before attempting to send out the request?