Skip to content

Instantly share code, notes, and snippets.



Created Apr 2, 2018
What would you like to do?
Special Keys - Keybind Bodies of Text
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
~SC027 & SC028::
Send {Backspace}
clipboard = ; send this text to the clipboard:
This is a line of text,
This is another line of text.
And another.
~The FloodShark
ClipWait, 1 ; wait for the clipboard to contain data
Send, ^v ; paste the clipboard content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment