Let's say the application you were trying to add was SKYPE. usr/libexec/PlistBuddy -c 'Print CFBundleIdentifier' /Applications/enterapplicaitonnamehere.app/Contents/ist This command will find the Bundle Identifier for the application you are trying to add to Assistive Devices. You can also add the file by following the commands below. I also tried restarting to apply the changes and setting the last four columns to 0,1,1,"".
I tried for example running these commands: sudo sqlite3 /Library/Application\ Support//TCC.db 'insert into access values ("kTCCServiceAccessibility",".qq",0,1,0,"'$'\xfa\xde\x0c''") 'ĭefaults write .qq -bool trueĭefaults write /Users/lauri/Desktop/qq.app -bool trueĭefaults write /Users/lauri/Desktop/qq.app/Contents/MacOS/applet -bool true
#ENABLE ACCESS FOR ASSISTIVE DEVICES MAC 10.9.5 HOW TO#
I couldn't figure out how to actually allow access for assistive devices for an application though. "/Users/lauri/Desktop/aa.app/Contents/MacOS/applet" = 1 "/Applications/iTerm.app/Contents/MacOS/iTerm" = 1 "/Applications/Xcode.app/Contents/Applications/Accessibility Inspector.app/Contents/MacOS/Accessibility Inspector" = 1 "/Applications/Xcode.app/Contents/Applications/Accessibility Inspector.app" = 1 "/Applications/Utilities/AppleScript Editor.app/Contents/MacOS/AppleScript Editor" = 1 "/Applications/Utilities/AppleScript Editor.app" = 1 "/Applications/Slate.app/Contents/MacOS/Slate" = 1 "/Applications/FastScripts.app/Contents/MacOS/FastScripts" = 1 "/Applications/Automator.app/Contents/MacOS/Automator" = 1 ~/Library/Preferences/ contains a list of applications for which the warning dialog has been shown: $ defaults read On my installation the last four columns ( client_type, allowed, prompt_count, and csreq) are 0|1|0|\xfa\xde\x0c for applications that were added after the "example.app" would like to control this computer using accessibility features dialog was shown and 0|1|1| for applications that I added by dropping them to the list in System Preferences. The schema, as given by sudo sqlite3 /Library/Application\ Support//TCC.db '.schema access', is: CREATE TABLE access (service TEXT NOT NULL, client TEXT NOT NULL, client_type INTEGER NOT NULL, allowed INTEGER NOT NULL, prompt_count INTEGER NOT NULL, csreq BLOB, CONSTRAINT key PRIMARY KEY (service, client, client_type)) The settings are stored in /Library/Application Support//TCC.db: $ sudo sqlite3 /Library/Application\ Support//TCC.db 'select * from access'