, . @Sacrilicious :
@Sacrilicious - . , python script, "". 4- python script: myscript.app/Contents/MacOS/myscript -
file = open("/tmp/test.txt", "w")
file.writelines(sys.argv[1:])
"". " " myscript.app.
/tmp/text.txt, , - -psn_0_#######, , "open with". , Apple Events, .
, , , python script, OS X .app, - , Bounty:)