How to terminate an app when last window closed?
it is driving me nuts, i am doing an xcode projetct: an
applescript cocoa application.
so far so good, but:
how can i terminate the application, when the last window
is closed??
i have read anything about ApplicationShouldTerminate...... methods
and any obj C method that could have something to do with this topic,
but how can i do this operation in an applescript application?
thanks
Derand
Applescript-OTHER, Mac OS X (10.7.2)