A
A
Alexander2015-08-20 11:36:28
Computer networks
Alexander, 2015-08-20 11:36:28

How to use OS X Accessibility API in Sandbox mode?

OS X has an Accesability API for accessing system elements and other applications from within your application. Everything works fine until the sandbox mode is enabled in the application. Sanbox mode is required to download apps from the App Store. Here is what apple says :

With App Sandbox, you can and should enable your app for accessibility, as described in this document. However, you cannot sandbox an assistive app such as a screen reader, and you cannot sandbox an app that controls another app.

But, in the app store there are applications that use the API, for example:
https://itunes.apple.com/us/app/cinch/id412529613 - Change the position and size of windows
https://itunes.apple.com/ru/app/ bettersnaptool/id4... - same thing
https://itunes.apple.com/en/app/popclip/id445189367 - defines selected text
So is there any way to use Sandbox/Accessability API/App Store together?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Evgen, 2019-02-21
@etaliorum

Well, as always linkmeup
And just draw a diagram of what goes where, what interfaces look where, only then they can help you normally, well, or a table. And it's a good idea to always have an IP network plan

A
Alexander Chernykh, 2019-02-21
@sashkets

If 192.168.2.11 is pinged from 192.168.2.10 (kinetics mutually see each other), then:
on 192.168.2.10 you need to add something like
route add 192.168.0.0/24 192.168.2.11 (about the network 192.168.0.0/24 knows 192.168.2.11)
on 192.168.2.11 you need to add something like route add
192.168.1.0/24
192.168.2.10 you need to draw a network diagram and throw a picture

A
Alexander, 2015-09-18
@seneast

After talking with Apple support, it turned out that the Accesability API continues to work only in older applications that were added before ≈2012. No new apps to download. Very disrespectful of them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question