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

ruhi

macrumors member
Original poster
Jun 17, 2009
70
0
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.
 

Eraserhead

macrumors G4
Nov 3, 2005
10,434
12,250
UK
What do you want to achieve with this script as there may be a better way to do what you want ;).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.