[categories] [index] [all (552)] [latest]
NSDictionary *errors;
NSAppleScript *quitApp;
quitApp = [[NSAppleScript alloc] initWithSource:@"tell application \"AnotherApplication\" to quit"];
[quitApp executeAndReturnError:&errors];
[quitApp release];
if(errors != nil) {
// manage error
}