Hi guys,
I’m trying to get my app to quit when you close it’s last window.
I could do this in AppleScript studio but can’t work out ho in AppleScriptObjC. Any ideas?
Thanks,
Joe
Hi guys,
I’m trying to get my app to quit when you close it’s last window.
I could do this in AppleScript studio but can’t work out ho in AppleScriptObjC. Any ideas?
Thanks,
Joe
on applicationShouldTerminateAfterLastWindowClosed_(sender)
return true
end applicationShouldTerminateAfterLastWindowClosed_
Of course, thank you
You’re welcome!