Hello, I am trying to implement something. I have cocoa application, it has a button. on clicking it will make a script file over desktop or any path , and will then execute it. This script will close and delete the .app file of my app itself. How can i approach this? What kind of script to use? Thanks, Ruhi.