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
Monday Production  
#1 Posted : Sunday, January 31, 2021 9:56:14 AM(UTC)
Monday Production

Rank: Member

Groups: Registered
Joined: 11/12/2018(UTC)
Posts: 23
Norway
Location: Oslo

Hi!

I´m tying to use the following code within Google Script to execute a fade function in Google sheets on a different computer than where vMix is installed.


function Fade() {
var res = UrlFetchApp.fetch('http://10.0.0.54:8088/api/?Function=Fade&Duration=8000');



But Google Sheets returs the following error:
Exception: Bad request: http://10.0.0.54:8088/api/?Function=Fade&Duration=8000

When I open the url: http://10.0.0.54:8088/api/?Function=Fade&Duration=8000 in Chrome browser the function executes correctly in vMix.

Is this problem caused since the command comes from inside Google script or is my script wrong?

Any help on this would be appreciate :-)

Kim
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.