Last active
August 29, 2015 14:19
-
-
Save shanonvl/e6403b27001b99e35a7a to your computer and use it in GitHub Desktop.
Enable Pasting of Clipboard Contents into Secure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Open Script Editor | |
# 2. Paste the below into the editor | |
tell application "System Events" to tell process "SecurityAgent" | |
set value of text field 1 of window 1 to (the clipboard) | |
click button 1 of group 1 of window 1 | |
end tell | |
# 3. Execute action that pops the password dialog e.g. `ssh example.com` | |
# 4. Click the Play button in the script editor window to paste the clipboard contents into the dialog. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment