Post

Does anyone know of a way to get notified when the Dock is shown or hidden when "Automatically hide and show the Dock" is enabled? I think this is the last brick I need in order to finalize the performance improvements for Festivitas

Have you looked into the accessibility notification API for this? In theory you might be able to create an AXObserver on the Dock process and register for window-related events. (Assuming no sandbox restrictions)

Yep, I’m already using that SPI. Unfortunately, no window event seems to be fired. I think the dock doesn’t have a traditional window 🤔

0 reposts0 likes

No replies yet.