• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Accessibility API: get list of allowed apps
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessibility API: get list of allowed apps


  • Subject: Re: Accessibility API: get list of allowed apps
  • From: Bill Cheeseman <email@hidden>
  • Date: Sun, 13 Sep 2015 06:51:12 -0400

> On Sep 13, 2015, at 3:58 AM, sqwarqDev <email@hidden> 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 appreciated.

You might try playing around with AppleScript, and look especially at the System Preferences application's scripting terminology dictionary. The script statements below will open the Accessibility list. From there, I believe you would have to use GUI Scripting to get the names of the applications in the list, but I don't know whether that is possible. Apple worked hard to make sure you cannot authorize access programmatically.

tell application "System Preferences"
	tell pane id "com.apple.preference.security"
		reveal anchor "Privacy_Accessibility"
	end tell
end tell


--

Bill Cheeseman - email@hidden




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Accessibility API: get list of allowed apps (From: sqwarqDev <email@hidden>)

  • Prev by Date: Accessibility API: get list of allowed apps
  • Next by Date: Re: Accessibility API: get list of allowed apps
  • Previous by thread: Accessibility API: get list of allowed apps
  • Next by thread: Re: Accessibility API: get list of allowed apps
  • Index(es):
    • Date
    • Thread