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
Thremir  
#1 Posted : Tuesday, September 17, 2013 4:02:43 AM(UTC)
Thremir

Rank: Advanced Member

Groups: Registered
Joined: 9/17/2013(UTC)
Posts: 173
Man
Location: Norway

Thanks: 10 times
Was thanked: 56 time(s) in 29 post(s)
Hello!

Currently working on a project for a professional livestream, and currently I have some problems using the API.

I need to edit the text of the title "Team1" of the first input. BUT the input has over 10 different text titles, and I am able to edit the first only!

The http link I'm currently using is "http://x.x.x.x:8088/api/?Function=SetText&value=Test".

Any help would be appreciated :)
admin  
#2 Posted : Tuesday, September 17, 2013 4:34:52 AM(UTC)
admin

Rank: Administration

Groups: Administrators
Joined: 1/13/2010(UTC)
Posts: 5,208
Man
Location: Gold Coast, Australia

Was thanked: 4288 time(s) in 1520 post(s)
You will need to add the SelectedIndex parameter to specify the text field. (0 for first field, 1 for second and so on)

Regards,

Martin
vMix
thanks 1 user thanked admin for this useful post.
Thremir on 9/18/2013(UTC)
doggy  
#3 Posted : Tuesday, September 17, 2013 4:36:15 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)
"....\?Function=SetText&Input=X&SelectedIndex=Y&Value=Test"

X = your input nr
Y = textfield nr
thanks 1 user thanked doggy for this useful post.
Thremir on 9/18/2013(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.