Page 1 of 1

is in group

Posted: Fri Jul 10, 2009 10:33 pm
by jmburnod
Hi All,

I need to known if an img is in a group

I tried :

Code: Select all

If img myImage is in group MyGroup then
show img myImage
else
hide img myImage
end if
but it rturn an error "chunk is not a container"

i understand is in work only with strimg (like explaned in the revdictionary)

I must write a function for that ?

Jean-Marc

Posted: Fri Jul 10, 2009 11:05 pm
by SparkOut
Try

Code: Select all

if "group" && quote & "MyGroup" & quote is in the long name of image "MyImage" then

is in group

Posted: Sat Jul 11, 2009 7:58 am
by jmburnod
Thank you SparkOut,

Your script work fine

Regards

Jean-Marc