Created
September 8, 2009 18:07
-
-
Save nall/183104 to your computer and use it in GitHub Desktop.
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
-- Applescript to save the current clipboard, send STUNTAZ!!! to the current text area | |
-- and restore the clipboard | |
-- | |
-- Jon Nall | |
-- 08Sep2009 | |
set theCommand to "STUNTAZ!!!" | |
set theOldClipboard to the clipboard | |
set the clipboard to theCommand | |
--delay 0.2 | |
tell application "System Events" | |
keystroke "v" using {command down} | |
end tell | |
set the clipboard to theOldClipboard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment