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
Fabiano  
#1 Posted : Saturday, January 29, 2022 6:16:00 AM(UTC)
Fabiano

Rank: Newbie

Groups: Registered
Joined: 2/24/2021(UTC)
Posts: 8
Brazil
Location: São Paulo

Thanks: 9 times
Was thanked: 1 time(s) in 1 post(s)
API.Function ("SetCCGammaRGB",Input:="5",Value:=i)
i=i-0.1

I'm not a programmer, I'm interested in the subject and I've been doing some scripts for vmix.

I would like to increment and decrement a value for an imput



ron2210  
#2 Posted : Sunday, January 30, 2022 4:17:39 PM(UTC)
ron2210

Rank: Member

Groups: Registered
Joined: 8/4/2020(UTC)
Posts: 16
Man
India
Location: Mumbai

Thanks: 16 times
Was thanked: 4 time(s) in 2 post(s)
For Increment the syntax would be
API.Function ("SetCCGammaRGB",Input:="5",Value:="+=0.1")

For Decrement it would be
API.Function ("SetCCGammaRGB",Input:="5",Value:="-=0.1")
thanks 1 user thanked ron2210 for this useful post.
Fabiano on 2/1/2022(UTC)
Users browsing this topic
Guest (2)
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.