Leo
3
For Beyond Compare, you probably want to use one of the scripts in this thread, which makes the button more context sensitive:
There are also some simple, non-script Beyond Compare buttons here:
And here is a general discussion about passing the selected left and right filenames to programs (without using scripting):