yes that was it, here is the script that should work for mac as well,
don't forget to check the "enableEvents" on from the File>Scripts>Scripts Events Manager....
also maybe you will need to make the "~trnsf.command" executable, this is a small video on how you can do that:
http://www.mediafire.com/download/r73khnuculcijed/make_the_command_executable.zip
here are the scripts:
http://www.mediafire.com/download/rju40fuo8o174ja/test_Kevinoneil.zip