[英]How do I capture print event in mac osx?
Is there any system related Notification which fire on when we print any document or file on mac osx. 当我们在Mac OS X上打印任何文档或文件时,是否有任何与系统相关的通知会启动。 or is there any way by which we can find out that any document on desktop or in files is being printed .
还是有什么方法可以使我们发现正在打印桌面或文件中的任何文档。 a piece of code or system command will be quite helpful
一段代码或系统命令会很有帮助
I am not sure but this looks like you should check it : 我不确定,但是看起来您应该检查一下:
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_handle_AEs/SAppsHandleAEs.html https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_handle_AEs/SAppsHandleAEs.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.