mark folders that was clicked ,

hi.
is there any way to make the folders that was clicked marked in any way.
i also know python but it needs to be all over the addons maybe a service somehow??

thanks for your help.