Button to pass active path from both listers to BeyondCompare 4.0 for folder comparison

Hi, folks. Could someone please point me to a description of the way to pass the active path from both listers to BeyondCompare 4.0 for folder comparison? Didn't find this discussed when I searched the forum just now.

I should have been clearer, darn it.

My purpose is to compare in BeyondCompare the active path from one lister to the active path in the other lister.

You may find this useful: "Smart" front end for Beyond Compare.

Thank you, jon. I've added that script to a button and it seems great. Lovely that it has some context sensitivity.