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
Delpit Christine  
#1 Posted : Tuesday, February 9, 2021 2:23:11 AM(UTC)
Delpit Christine

Rank: Newbie

Groups: Registered
Joined: 1/29/2020(UTC)
Posts: 4
Belgium
Location: Bruxelles

Hello there,

I have difficulties with the 2 functions "set output2" & "set external output2".
To avoid multiple shortcuts on the same button of my streamdeck, I'd like to call a script with a single shortcut .
My aim is to send the input "2" to the external2 (and to route the audio to the bus A at the same time -> this point is working)
My script is :
Function=SetOutputExternal2&Value=Input&Input=2
Function=SetOutput2&Value=Input&Input=2


It doesnt't work: the source routed to external2 doesn't change (although it is working with a shortcut)
Does someone can help me/has encountered the same experience?

Thanks you :)
doggy  
#2 Posted : Tuesday, February 9, 2021 3:36:40 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,218
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Try Closing the settings window and opening it again to check if changed . There seems to be a little issue in updating when still in the settings windows and switching between the script and the outputs to check
doggy  
#3 Posted : Thursday, February 18, 2021 4:07:19 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,218
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: gefiltafish Go to Quoted Post
Also got a similar problem with scripting, cannot execute that Output2 (or ExternalOutput2) to show output on another PC, but start/stop External command works like a charm.

Tried doggy solution but it didn't work, any updates?


How would an external output have the ability to show up on another pc (compatible output devices) unless it's NDI or SRT .....?

Code:
Function=SetOutput2&Value=Input&Input=10
' where 10 is an input number
thanks 1 user thanked doggy for this useful post.
gefiltafish on 2/18/2021(UTC)
gefiltafish  
#4 Posted : Thursday, February 18, 2021 4:12:30 AM(UTC)
gefiltafish

Rank: Advanced Member

Groups: Registered
Joined: 12/5/2017(UTC)
Posts: 37
Location: Zagreb

Thanks: 8 times
Originally Posted by: doggy Go to Quoted Post
Originally Posted by: gefiltafish Go to Quoted Post
Also got a similar problem with scripting, cannot execute that Output2 (or ExternalOutput2) to show output on another PC, but start/stop External command works like a charm.

Tried doggy solution but it didn't work, any updates?


How would an external output have the ability to show up on another pc (compatible output devices) unless it's NDI or SRT .....?

Code:
Function=SetOutput2&Value=Input&Input=10
' where 10 is an input number


Thanks, but found a solution (my wording was wrong, I apologize). Thanks anyway :)
Delpit Christine  
#5 Posted : Friday, March 5, 2021 8:22:47 PM(UTC)
Delpit Christine

Rank: Newbie

Groups: Registered
Joined: 1/29/2020(UTC)
Posts: 4
Belgium
Location: Bruxelles

Hi everyone,

I tried several things: close the settings windows/write the script in a .text file and copy-paste ...
I don't remember the order of the actions but it finally worked

Thank for your answers!
RSB  
#6 Posted : Tuesday, September 28, 2021 9:11:17 PM(UTC)
RSB

Rank: Newbie

Groups: Registered
Joined: 5/30/2020(UTC)
Posts: 7
United Kingdom
Location: Rugby

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Did anyone figure this out?

web function: http://127.0.0.1:8088/api/?function=SetOutput3&Value=Input&Input=10

works fine.

But scripting: Function=SetOutput3&Value=Input&Input=10

doesn't work.
doggy  
#7 Posted : Wednesday, September 29, 2021 12:11:51 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,218
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: RSB Go to Quoted Post
Did anyone figure this out?

web function: http://127.0.0.1:8088/api/?function=SetOutput3&Value=Input&Input=10

works fine.

But scripting: Function=SetOutput3&Value=Input&Input=10

doesn't work.


Is that the only line of code in your script ?

https://forums.vmix.com/...ng-for-Dummies#post70833
Users browsing this topic
Guest
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.