(foreach rtr ; check if that reactor exist in the command reactors and remove it
(cdar (vlr-reactors :vlr-command-reactor)) (if (= "QuickTxt" (vlr-data rtr)) (vlr-remove rtr))
); foreach
(vl-some ; check if that reactor exist in the command reactors and remove it
'(lambda (r) (if (= "QuickTxt" (vlr-data r)) (vlr-remove r)))
(cdar (vlr-reactors :vlr-command-reactor))
); vl-some
wouldn't (vl-some) make more sence? The reactor's data should be unique afterall?
I've seen this being used by Lee:
But wouldn't (vl-some) make more sence? The reactor's data should be unique afterall? :If you have any doubt about the data of another reactor may running on the same document then might add more codes to search for your own created reactor.