Snippets

Jesse Almanrode Click "Allow" button on Security & Privacy In OS X

Created by Jesse Almanrode last modified
# If you've ever needed to click the "Allow" button in System Preferences
# while connected to a system via Screen Sharing and it "doesn't work"
# then you need to try this simple script.  Simply have the "Security & Privacy"
# window open and run this script.

tell application "System Events"
	tell process "System Preferences"
		tell window 1
			tell tab group 1
				click button "Allow"
			end tell
		end tell
	end tell
end tell

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.