Skip to content

Instantly share code, notes, and snippets.

@thefloodshark
Created April 2, 2018 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thefloodshark/178969a12432b74a694be761473ae228 to your computer and use it in GitHub Desktop.
Save thefloodshark/178969a12432b74a694be761473ae228 to your computer and use it in GitHub Desktop.
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
return
~#!x::Suspend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment