Function DelFav(keyname as String)
Print"ITEM TO DELETE>>>>"keyname
rComma = CreateObject("roRegex", ",", "") ' split on comma
sec=CreateObject("roRegistrySection","favorite")
if sec.Exists("list")
listemp=rComma.Split(ReadFav()) 'READ FAVORITE LIST FROM REGISTRY
for each line in listemp 'SEARCH REGISTRY FOR CHANNEL TO REMOVE FROM FAVORITES[/font][/size]
if line=keyname
?"FOUND*******" 'IF FOUND SKIP
sec.Delete(keyname)
else
list.Push(line)
end for
writereg("favorite","list",arraytostring(list)) 'SAVE TO REGISTRY
End function
We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.
Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality.
In the meantime, for additional assistance, visit our Support Site.
We're sorry for this disruption — we’re excited to share what’s next!