2

Is there any way of detecting when a user has moused over ANY icon on the dock? Furthermore, is there any way of detecting when a user has clicked ANY icon on the dock?

There must be a way that hover is detected, since App Store apps like hyperdock and dockview do it. Anyone know how, and if you do...do you know how to detect if a click has been done?

Thanks!

1 Answer 1

3

I think you can use the accesibility API's and something like NSAccessibilityFocusedUIElementChangedNotification to see when something is hovered over in the dock. I've never done it though, so I can't give you any details. Sorry.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.