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
MDB  
#1 Posted : Saturday, February 8, 2025 2:32:42 AM(UTC)
MDB

Rank: Member

Groups: Registered
Joined: 7/6/2021(UTC)
Posts: 11
Man
Germany
Location: Münster

Thanks: 2 times
I can set pans and crops but I would like to use the original values and calculate with them. So I miss something like GetPanX()
doggy  
#2 Posted : Saturday, February 8, 2025 2:59:51 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 299 times
Was thanked: 980 time(s) in 813 post(s)
Originally Posted by: MDB Go to Quoted Post
I can set pans and crops but I would like to use the original values and calculate with them. So I miss something like GetPanX()


one can retrieve the current values from the vMIx API and do your calculations
Also if you just do an add or subtract value with the SetPan etc shortcuts it be from their current value
MDB  
#3 Posted : Saturday, February 8, 2025 3:41:56 AM(UTC)
MDB

Rank: Member

Groups: Registered
Joined: 7/6/2021(UTC)
Posts: 11
Man
Germany
Location: Münster

Thanks: 2 times
Originally Posted by: doggy Go to Quoted Post

one can retrieve the current values from the vMIx API and do your calculations
Also if you just do an add or subtract value with the SetPan etc shortcuts it be from their current value


You could give me a hint to find it
In shortcuts I tried SetPanX as function the value ist always taken as an absolute value

vMix 4KVersion 26.0.0.47
doggy  
#4 Posted : Saturday, February 8, 2025 4:05:05 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 299 times
Was thanked: 980 time(s) in 813 post(s)
Originally Posted by: MDB Go to Quoted Post
Originally Posted by: doggy Go to Quoted Post

one can retrieve the current values from the vMIx API and do your calculations
Also if you just do an add or subtract value with the SetPan etc shortcuts it be from their current value


You could give me a hint to find it
In shortcuts I tried SetPanX as function the value ist always taken as an absolute value

vMix 4KVersion 26.0.0.47



some hints:
- searching this forum
- plenty of examples on how to retrieve data from the vMix API XML @ http://127.0.0.1:8088/api with scripts see "scripting for dummies" post in this forum
= mentioned numerous times in this forum on how to change values through shortcuts by adding or subtracting (example : Valu +=1 and Value -=1 etc) instead of absolute values
thanks 1 user thanked doggy for this useful post.
MDB on 2/13/2025(UTC)
MDB  
#5 Posted : Monday, February 10, 2025 9:31:28 PM(UTC)
MDB

Rank: Member

Groups: Registered
Joined: 7/6/2021(UTC)
Posts: 11
Man
Germany
Location: Münster

Thanks: 2 times
Originally Posted by: doggy Go to Quoted Post

= mentioned numerous times in this forum on how to change values through shortcuts by adding or subtracting (example : Valu +=1 and Value -=1 etc) instead of absolute values


That was the syntax that I was unable to find. Thank you very much
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.