Last active
August 29, 2015 14:08
-
-
Save kylehowells/3993873769c8cce944b4 to your computer and use it in GitHub Desktop.
Force Paste
This file contains 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
on run {input, parameters} | |
tell application "System Events" | |
keystroke (the clipboard as text) | |
end tell | |
return input | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Automator create a new "Service". Select run AppleScript. Paste that code in. Set the input to "No input". Save it as "Force Paste".
Now in the System prefs > Keyboard > Shortcuts > Services assign a keyboard shortcut to the "Force Paste" service.
Now you can override applications that don't let you paste things into them.