From the release 2018 we can use the function explorer_selected_entities to get a list of the entities selected in the explorer tree. But this function returns the list of the entities and not the folders. So for me there is actualy no solution to your request.
Hi @5axes Thank you for your reply.
The explorer_selected_entities() function is in use.
I just want to confirm if there is a direct selection of single or multiple folders. Of course your answer is yes.
Thank you again. I wish you a smooth job. Thank you.