else/AHK/clipboard.ahk

8 lines
382 B
AutoHotkey
Raw Normal View History

2016-05-10 08:00:29 +00:00
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; CTRL+SPACE pastes the clipboard as if it was typed manually.
^SPACE:: SendInput % RegExReplace(Clipboard, "\r\n?|\n\r?", "`n")