Determining the snippet template of item in slot

I have a slot filled with some items that do not all have the same snippet selected.

I need to determine the snippet in order to handle the code within the slot loop.

Anyone know how to get this info while in the loop?

Thanks

[I]#initslot(“ciDownloadSlot” “”)

#foreach( $relresult in $sys.currentslot.relresults )##

[FONT=Arial Black]– Here I want to determine the specific snippet associated with the each item in the slot
so I can handle differently –

#slotItem($relresult)	

#end##

#endslot(“ciDownloadSlot”)##[/I][/FONT]

Would you like to know the ContentType for the snippet or the current template selected for the snippet?

the specific snippet template called for - any ideas?

Better late than never… How about this…

$relresult.getTemplate().getName()

…or…

$relresult.getTemplate().getLabel()