1. processingのbundleをどうにかしてインストールする。
GetBundles とかで。
2. Bundle Editorを開いて、「Run in Processing」の Commands を
osascript <<EOF
tell application "Processing" to run
tell application "Processing" to activate
tell application "Processing" to open POSIX file "${TM_FILEPATH}"
delay 1
tell application "System Events" to tell process "Processing"
keystroke "r" using command down
end tell
EOF
に書き換える。
終わり。