logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Antonis Lekopoulos  
#1 Posted : Saturday, November 25, 2023 1:45:03 AM(UTC)
Antonis Lekopoulos

Rank: Newbie

Groups: Registered
Joined: 9/16/2020(UTC)
Posts: 2
Greece
Location: Athens

Hello to all,
maybe a stupid question, but i am trying to make a script to toggle On and Off a specific layer of the input that is on air.
I have tried
Function=LayerOnOff&Value=3&ActiveInput
but ActiveInout is what is on preview.
What is the right command to select the input that is playing on air?
Thanks in advance
nikosman88  
#2 Posted : Saturday, November 25, 2023 2:08:10 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 507
Greece
Location: athens

Thanks: 123 times
Was thanked: 71 time(s) in 67 post(s)
Hello.
try this
Function=LayerOnOff&Input=-1&Value=3
where -1 means the active input and 0 means the preview input
Antonis Lekopoulos  
#3 Posted : Saturday, November 25, 2023 2:22:31 AM(UTC)
Antonis Lekopoulos

Rank: Newbie

Groups: Registered
Joined: 9/16/2020(UTC)
Posts: 2
Greece
Location: Athens

Originally Posted by: nikosman88 Go to Quoted Post
Hello.
try this
Function=LayerOnOff&Input=-1&Value=3
where -1 means the active input and 0 means the preview input


So -1 was the right number! I had tried some solutions but not -1!
Thank you very much
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.