Accessibility API: get list of allowed apps

2015-09-13 Thread sqwarqDev
Is there a way to get a list of the apps currently allowed access to the Accessibility API (I’m talking about the apps listed in the System Preferences > Security & Privacy > Privacy > Accessibility pane and which are allowed to GUI script the computer)? I’ve found two “hackarounds”, neither of

Re: Accessibility API: get list of allowed apps

2015-09-13 Thread Bill Cheeseman
> On Sep 13, 2015, at 3:58 AM, sqwarqDev wrote: > > I basically want to read the list and determine whether anything in a > user-defined set of "blacklisted" apps is in there or not. Alas, I can’t find > anything either in Cocoa docs or from searching the mother net. > > Any clues much appreci

Re: Accessibility API: get list of allowed apps

2015-09-13 Thread sqwarqDev
On 13 Sep 2015, at 17:58, sqwarqDev wrote: Thanks for the reply, Bill. > On 13 Sep 2015, at 17:51, Bill Cheeseman wrote: > I believe you would have to use GUI Scripting I’m know my way around AppleScript, but that’s not an option. It has to be done without opening the System Preferences app

Re: API to determine status of System Integrity Protection?

2015-09-13 Thread Stephane Sudre
On Sat, Sep 12, 2015 at 9:53 PM, Ed Wynne wrote: > > On Sep 12, 2015, at 1:45 PM, sqwarqDev wrote: > >> >>> On 13 Sep 2015, at 00:43, SevenBits wrote: >>> >>> That document doesn't mention an API… >>> >> Hence, since that is the current documentation, my conclusion : “Don’t think >> so”. > > >

Re: API to determine status of System Integrity Protection?

2015-09-13 Thread Ed Wynne
On Sep 13, 2015, at 5:47 PM, Stephane Sudre wrote: That document doesn't mention an API… >>> Hence, since that is the current documentation, my conclusion : “Don’t >>> think so”. >> There is an API. Much like with sandboxing it just may not be public, which >> means it is inappropriate for

Identifying a specific Mac model

2015-09-13 Thread John Daniel
Hello, Does anyone know of an API or utility that will identify specific Mac models? The “Model Identifier” like “MacBook8,1” is not sufficient to uniquely describe a model. MacBook8,1 covers all colours of the new MacBook. I am trying to differentiate the silver, from the space grey, from the

Re: Display USB Video Camera output : AVFoundation?

2015-09-13 Thread Gordon Apple
It¹s a bug. I filed it a couple of days ago. 22666722 AVCaptureSession commitConfiguration calls deprecated code. On 9/13/15 2:00 PM, "cocoa-dev-requ...@lists.apple.com" wrote: > Well, AVCaptureView is not very malleable. I needed to use an > AVCaptureVideoPreviewLayer, which needed quite a fe

Re: Identifying a specific Mac model

2015-09-13 Thread Maxthon Chan
I think this can only be done by searching Apple databases, or try to understand the machine’s serial number. I don’t think Apple now allows the developer to do this at all. > On Sep 14, 2015, at 08:09, John Daniel > wrote: > > Hello, > Does anyone know of an API or utility that will identify