简体   繁体   English

如何捕捉取景器警报?

[英]How to catch finder alert?

How can I catch and interfere if the Finder pops up an alert? 如果Finder弹出警报,如何捕捉和干扰? I thought it would be some notification in NSWorkspace but was disappointed. 我以为这是NSWorkspace中的一些通知,但很失望。

Which is the right way to do this? 哪个是正确的方法?

Thank you for your responses. 谢谢你的回复。

sorry you can't intercept another app's alert view. 抱歉,您无法拦截其他应用的警报视图。 (at least not without breaking code signing and tinkering with the other app .. eg via some simbl plugin) (至少在不破坏代码签名和修补其他应用程序的情况下..例如通过某些simbl插件)

there is no obvious and apple-conform way and this is a good thing! 没有明显且符合苹果标准的方法,这是一件好事!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM