Skip to content

Instantly share code, notes, and snippets.

@tani
Created January 31, 2022 05:39
Show Gist options
  • Save tani/f4f67245d615ecefe3e4d712315249a0 to your computer and use it in GitHub Desktop.
Save tani/f4f67245d615ecefe3e4d712315249a0 to your computer and use it in GitHub Desktop.
Copy text without newline by Alt+C
#NoEnv
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
!c::
Send,^c
ClipWait
StringReplace,clipboard,clipboard,`r`n, ,All
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment