标签: objective-c scripting-bridge
我可以使用下面的代码来获取当前打开的窗口,但是我怎么知道窗口何时关闭?
for(FinderWindow *window in finderWindows) { // this is its folder FinderFolder * finderFolder = window.properties[@"target"]; }