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
NSCPro  
#1 Posted : Friday, August 2, 2024 5:11:51 AM(UTC)
NSCPro

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2019(UTC)
Posts: 48
Estonia
Location: Kuressaare

Hi.

In order to create a vMix Script, I would need to know what command line I need to use to read from the Data Source Manager a column with a specific Table name, a specific title. Screenshot 2024-08-01 at 21.06.37.png (57kb) downloaded 0 time(s).


I want to make a script so that as long as the line is completely empty, the Input will not be shown, if a number appears in the "keskmine" line, then it will automatically display the Input, and it will wait until a number appears in the next line, then it will automatically update the data in my GT Designer graphics.
doggy  
#2 Posted : Friday, August 2, 2024 9:15:51 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 294 times
Was thanked: 961 time(s) in 795 post(s)
Originally Posted by: NSCPro Go to Quoted Post
Hi.

In order to create a vMix Script, I would need to know what command line I need to use to read from the Data Source Manager a column with a specific Table name, a specific title


I want to make a script so that as long as the line is completely empty, the Input will not be shown, if a number appears in the "keskmine" line, then it will automatically display the Input, and it will wait until a number appears in the next line, then it will automatically update the data in my GT Designer graphics.


one can NOT read from a vMix data source directly unless you put its data in a title from which a script can read, or use external scripting ( make application)
NSCPro  
#3 Posted : Friday, August 2, 2024 9:43:34 AM(UTC)
NSCPro

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2019(UTC)
Posts: 48
Estonia
Location: Kuressaare

I have added to title, but how to script read it, if data is empty not show overlay, if data is up show overlay automatically and update after every new line is coming
doggy  
#4 Posted : Friday, August 2, 2024 7:43:59 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 294 times
Was thanked: 961 time(s) in 795 post(s)
Originally Posted by: NSCPro Go to Quoted Post
I have added to title, but how to script read it, if data is empty not show overlay, if data is up show overlay automatically and update after every new line is coming


https://forums.vmix.com/...86-Scripting-for-Dummies

https://www.vmix.com/hel...utFunctionReference.html

https://www.google.com/s...ceid=chrome&ie=UTF-8
NSCPro  
#5 Posted : Friday, August 2, 2024 8:40:12 PM(UTC)
NSCPro

Rank: Advanced Member

Groups: Registered
Joined: 9/27/2019(UTC)
Posts: 48
Estonia
Location: Kuressaare

I wrote you a PM
WaltG12  
#6 Posted : Tuesday, August 27, 2024 5:38:12 AM(UTC)
WaltG12

Rank: Advanced Member

Groups: Registered
Joined: 7/4/2021(UTC)
Posts: 312
United States

Thanks: 8 times
Was thanked: 43 time(s) in 37 post(s)
Originally Posted by: NSCPro Go to Quoted Post
I have added to title, but how to script read it, if data is empty not show overlay, if data is up show overlay automatically and update after every new line is coming



This is almost exactly what I posted in the Scripting for Dummies thread months ago.

Code:
If title <> nothing AndAlso overlay = nothing
'Set overlay
Elseif title <> nothing AndAlso overlay = input
'Next row
End if
Loop


Or if you want to keep the data source manager in charge of automatically updating the title

Code:
If title <> nothing
'Set overlay
'Stop script
End if
Loop
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.