I was wondering if there was a way to allow Applesript to run without asking for the initial pop-up permissions on Monterey? Or is there a way to automate the acceptance of the pop-up permissions? Thank you in advance.
I have tried using SQLite3 to do this, sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db "REPLACE INTO access values ('kTCCServiceAccessibility', 'com.apple.Terminal', 0, 1, 1, NULL, NULL);" (but this seems to work on Maverick only)