Sorry, that was the wrong version. I'll upload again when I get a
chance. In the meantime, open the script up in AppleScript Editor and
add "as alias" to the line that begins "set the OriginalFile". Hit
the compile button. While the script is still open, select some text
in your do file and hit the run button. When you are sure the script
is working, close it and you should be good to go.
I should also add that the original send do-file to Stata and send
selection to Stata scripts were written by Ben Hulley.