0
  • I have some app
  • This app must to have accessibility access (to use global hotkeys)
  • There is no problem to open Accessibility preferences window (System Settings -> Privacy and Security -> Accessibility)

But user must to click "+" button manually, to search my app on HDD and to add my app manually to the list:

enter image description here

QUESTION IS: How to ADD my app to this list?

Important: No need to tell me that there are no way to enable it. All I need is to "ADD". Not more.

Andrew_STOP_RU_WAR_IN_UA
  • 9,318
  • 5
  • 65
  • 101
  • Duplicate of [Adding a macOS app to the list of accessibility in privacy system preferences](https://stackoverflow.com/questions/66435581/adding-a-macos-app-to-the-list-of-accessibility-in-privacy-system-preferences) and [how to provide accessibility permissions to swift apps in development](https://stackoverflow.com/questions/59147944/how-to-provide-accessibility-permissions-to-swift-apps-in-development) – Willeke Jul 31 '23 at 00:43
  • @Willeke updated question, it didn't help me – Andrew_STOP_RU_WAR_IN_UA Jul 31 '23 at 01:46
  • @Willeke also it's insane - there is no information about NSUserInterfaceAccessibility in the internet -- only this "duplicate" question. Looks like a joke or mistake. – Andrew_STOP_RU_WAR_IN_UA Jul 31 '23 at 02:03
  • Do you call `AXIsProcessTrustedWithOptions`? – Willeke Jul 31 '23 at 07:46
  • @Willeke yep, but how is it related to the question? 1) I did use `AXIsProcessTrustedWithOptions` EVEN BEFORE asking the question ; 2) usage of `AXIsProcessTrustedWithOptions` is for checking that I have an access. But I need exactly ADD app to the list. But with `NSUserInterfaceAccessibility` key app is constantly crashed. As written in my question; – Andrew_STOP_RU_WAR_IN_UA Jul 31 '23 at 08:48
  • @Willeke https://i.stack.imgur.com/C4oWm.png – Andrew_STOP_RU_WAR_IN_UA Jul 31 '23 at 08:56
  • My new question: https://stackoverflow.com/questions/76807911/trying-to-add-my-app-to-system-settings-privacy-and-security-accessibility – Andrew_STOP_RU_WAR_IN_UA Aug 01 '23 at 01:08

0 Answers0