Created
March 29, 2019 15:43
-
-
Save mattmc3/c16bca97a52e4226a782df7ce1e8d031 to your computer and use it in GitHub Desktop.
AHK - save clipboard to file
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
; Save clipboard to file | |
OnClipboardChange: | |
EnvGet, HomeDir, USERPROFILE | |
FileDelete, %HomeDir%\Documents\clipboard.txt | |
FileAppend, %Clipboard%, %HomeDir%\Documents\clipboard.txt | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment