Is it possible to click “Click the lock to prevent further changes”-lock using AppleScript? Is there way to open lock using keyboard?
Use this GUI script with a hotkey app.
Its very basic… but works
try
tell application "System Events"
click button "Click the lock to make changes." of window 1 of application process "System Preferences"
end tell
on error
tell application "System Events"
click button "Click the lock to prevent further changes." of window 1 of application process "System Preferences"
end tell
end try
Slick