Xcode – Exit the application after closing the window in AppleScript

I created an AppleScript application in Xcode and I want to know how to make the application exit after the window is closed.
< /div>

Add applicationShouldTerminateAfterLastWindowClosed: method to AppDelegate, for example:

on applicationShouldTerminateAfterLastWindowClosed_(sender)
return true< br />end applicationShouldTerminateAfterLastWindowClosed_

I created an AppleScript application in Xcode and I want to know how to make the application exit after the window is closed.

Add applicationShouldTerminateAfterLastWindowClosed: method in AppDelegate, for example:

on applicationShouldTerminateAfterLastWindowClosed_(sender)
return true
end applicationShouldTerminateAfterLastWindowClosed_

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3932 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.