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
wolfmayr  
#1 Posted : Tuesday, June 10, 2025 6:23:05 PM(UTC)
wolfmayr

Rank: Newbie

Groups: Registered
Joined: 8/9/2018(UTC)
Posts: 4
Location: Autria

Thanks: 1 times
Dear Community,

can anyone help me or send an example how to do script which loops over the fields of a title and sets all content to blank/deletes all the content.

many thx

WolfMayr
doggy  
#2 Posted : Tuesday, June 10, 2025 7:50:20 PM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 300 times
Was thanked: 993 time(s) in 823 post(s)
Originally Posted by: wolfmayr Go to Quoted Post
Dear Community,

can anyone help me or send an example how to do script which loops over the fields of a title and sets all content to blank/deletes all the content.

many thx

WolfMayr


Just send the API command foreach field to set the content to a space with a script


see https://forums.vmix.com/...ng-for-Dummies#post70833
WaltG12  
#3 Posted : Thursday, June 12, 2025 2:40:40 AM(UTC)
WaltG12

Rank: Advanced Member

Groups: Registered
Joined: 7/4/2021(UTC)
Posts: 366
United States

Thanks: 8 times
Was thanked: 53 time(s) in 44 post(s)
Originally Posted by: doggy Go to Quoted Post
Just send the API command foreach field to set the content to a space with a script


No space necessary.

Code:
API.Function("SetText",Input:="1",Value:="")


works perfectly.
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.