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
Guilherme  
#1 Posted : Thursday, July 21, 2022 12:34:50 AM(UTC)
Guilherme

Rank: Newbie

Groups: Registered
Joined: 9/3/2019(UTC)
Posts: 2
Brazil
Location: Saopaulo

hi folks, its possible to put on a string the visible state of some Title? like a:


dim a As string = Input.Find("My_Title.gzip").Text("RedCard.Source")

If a = ("RedCard.Source"="visibleOn") then

API.Function("SetImageVisibleOff",Input:="My_Title.gtzip",SelectedName:="RedCard.Source")

end If


Thanks For help me.
doggy  
#2 Posted : Thursday, July 21, 2022 12:57:28 AM(UTC)
doggy

Rank: Advanced Member

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

Thanks: 293 times
Was thanked: 955 time(s) in 790 post(s)
Input.Find("... gives you the content of that title element
if that has as text content "visibleOn" than sure scripting can be used to determin what action to take. (btw text and imges are different types of elements!)

if you want to determin if the visibility is on or off by script of a certain element that one will have to look into the API XML and find such status . If one can not find such statusindicator than one is out of luck

Guilherme  
#3 Posted : Thursday, July 21, 2022 1:44:41 AM(UTC)
Guilherme

Rank: Newbie

Groups: Registered
Joined: 9/3/2019(UTC)
Posts: 2
Brazil
Location: Saopaulo

In xml it appears:

<image index="0" name="CV_FORA1.Source">83e17ce7-64c1-4f11-95db-582482f115ca\CARTÃO VERMELHO.png</image>


Doesn't show if visible or not

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.