Making Script and executing with cocoa application

Discussion in 'Mac Programming' started by ruhi, Aug 29, 2009.

  1. ruhi macrumors member

    Joined:
    Jun 17, 2009
    #1
    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.
     
  2. Eraserhead macrumors G4

    Eraserhead

    Joined:
    Nov 3, 2005
    Location:
    UK
    #2
    What do you want to achieve with this script as there may be a better way to do what you want ;).
     

Share This Page