jacobsalmela / tccutil

♿️ Command line tool to modify OS X's accessibility database (TCC.db)
https://jacobsalmela.com/2014/07/14/tccutil-py-command-line-utility-modifying-accessibility-database-os-x/
GNU General Public License v2.0
463 stars 61 forks source link

How I know service name to insert #23

Closed congdv closed 6 years ago

congdv commented 7 years ago

Hi, I have a question that how I know service name of my application for insert to database. Example: I want to Eclipse IDE could be Accessibility but I really don't know name of Eclipse IDE. I tried "sudo tccutil.py --insert /Applications/Eclipse.app" but it 's not working. Like "ScriptEditor2" is "com.apple.ScriptEditor2". Thank you.

jacobsalmela commented 6 years ago

Sorry I missed this one @congdv:

It's the Bundle ID you are looking for. I typically use a command like this to find it:

/usr/libexec/PlistBuddy -c 'Print CFBundleIdentifier' /Applications/Eclipse.app/Contents/Info.plist