Skip to content

Instantly share code, notes, and snippets.

@trastle
Created November 19, 2013 13:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trastle/7545311 to your computer and use it in GitHub Desktop.
Save trastle/7545311 to your computer and use it in GitHub Desktop.
AppleScript to let me past very long passwords into the Time Machine password box.
tell application "System Events" to tell process "SecurityAgent"
set value of text field 1 of window 1 to the clipboard
click button 1 of window 1
end tell
@trastle
Copy link
Author

trastle commented Nov 19, 2013

Note to self: This works very well.

Originally from here:
http://superuser.com/questions/582148/force-osx-text-field-to-accept-copy-paste

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment