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
GHz  
#1 Posted : Monday, January 16, 2023 11:56:24 PM(UTC)
GHz

Rank: Newbie

Groups: Registered
Joined: 1/24/2020(UTC)
Posts: 5
Italy

Thanks: 1 times
Hi,
I'm trying my hand at scripting for the first time I just don't understand how to loop a script.

The basic function for now is:

Function=OverlayInput1In&Input=1
Sleep 10000
Function=OverlayInput1Out&Input=1
Function=OverlayInput2In&Input=2
Sleep 10000
Function=OverlayInput2Out&Input=2
Function=OverlayInput3In&Input=3
Sleep 10000
Function=OverlayInput3Out&Input=3

From here I would like the Loop to start again but I don't understand how it should be put
doggy  
#2 Posted : Tuesday, January 17, 2023 4:11:51 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: GHz Go to Quoted Post
Hi,
I'm trying my hand at scripting for the first time I just don't understand how to loop a script.

The basic function for now is:

Function=OverlayInput1In&Input=1
Sleep 10000
Function=OverlayInput1Out&Input=1
Function=OverlayInput2In&Input=2
Sleep 10000
Function=OverlayInput2Out&Input=2
Function=OverlayInput3In&Input=3
Sleep 10000
Function=OverlayInput3Out&Input=3

From here I would like the Loop to start again but I don't understand how it should be put


Think you are better off using vb.net scripting (do while -- loop)
Check the cripting for dummies post in this forum
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.