So we recently deployed Snagit to our users per their request. It's been a couple months now and things are going good, until today. I got a request to enable the Scrolling capture. Because this seems like a potential security risk, I'm working with our security team to check it out. But the other issue is our users don't have admin access, so even if we did allow it - we need a way to activate it via script.
So I started by using my admin credentials and activating it on my laptop. I know the accessbilty stuff goes into the TCC.db. So I saw that it added two things into the accesbilty table when I did it manually:
kTCCServiceAccessibility|com.TechSmith.Snagit|0|1|1|
kTCCServiceAccessibility|com.techsmith.snagit.capturehelper|0|1|1|
So I wrote a script that pretty much does that, but got into issue. Here's the quick script:
#!/bin/sh
sudo sqlite3 /Library/Application Support/com.apple.TCC/TCC.db "INSERT or REPLACE INTO access VALUES('kTCCServiceAccessibility','com.TechSmith.Snagit',0,1,1,NULL)"
sudo sqlite3 /Library/Application Support/com.apple.TCC/TCC.db "INSERT or REPLACE INTO access VALUES('kTCCServiceAccessibility','com.techsmith.snagit.capturehelper’,0,1,1,NULL)"
sudo sqlite3 /Library/Application Support/com.apple.TCC/TCC.db "select * from "access""
The last command just lists all the access so I can check it was done correctly. The reason I put that there is because the com.techsmith.snagit.capturehelper doesn't appear to work on a fresh machine. When the script is run on a machine with a fresh install of snagit it gets:
ERROR: unrecognized token "'com.techsmith.snagit.capturehelper',0,1,1,NULL)"
So has anyone been able to package it with the ability to enable scrolling capture?