Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ruhi

macrumors member
Original poster
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.