r/applescript • u/meerdans • Oct 09 '23
Script to toggle Location Services on & off
I currently have a script that opens the desired setting:
x-apple.systempreferences:com.apple.preference.security?Privacy_LocationServices
but can a script be written to toggle Location Services on and off without user input, especially as it requires authentication to do so?
3
Upvotes
View all comments
Show parent comment
1
u/meerdans Oct 11 '23
Beautiful. Even if that's the closest I can get to fully automating the workflow, I'm still very happy. Thanks muchly