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
WatsonPrunier  
#1 Posted : Thursday, September 28, 2023 1:11:00 AM(UTC)
WatsonPrunier

Rank: Member

Groups: Guests
Joined: 4/30/2020(UTC)
Posts: 22

Thanks: 2 times
Would it be possible to create a function that took a numeral value as an argument.

Example:

function SetPage(PageIndex as Integer, InputIndex as Integer)
API.Function("SetPageIndex", Input:=InputIndex, Value:=PageIndex)

end function

SetPage(1, 7)

This then becomes a public script that can be called.

Also, offer the option to include a reference vb file that has all the functions rather than retyping them over and over again.

Also, upgrade the Scripting interface to allow for sorting and or possible categories
doggy  
#2 Posted : Thursday, September 28, 2023 1:45:03 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 290 times
Was thanked: 952 time(s) in 787 post(s)
Originally Posted by: social_wp@outlook.com Go to Quoted Post
Would it be possible to create a function that took a numeral value as an argument.

Example:

function SetPage(PageIndex as Integer, InputIndex as Integer)
API.Function("SetPageIndex", Input:=InputIndex, Value:=PageIndex)

end function

SetPage(1, 7)

This then becomes a public script that can be called.



Guess one is better of making external scripts/apps then for full control of coding/scripting and power. Can be called from a vMix script with an external process call
ALso consider using dynamicinputs and values within vMix scripts.
JMO
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.