Created
January 16, 2014 03:13
-
-
Save 0x4a/8449233 to your computer and use it in GitHub Desktop.
remove newline character from #clipboard #work #string #ahk
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
; remove newline characters | |
; Win + X | |
#x:: | |
Send ^x | |
StringReplace, clipboard, clipboard,`r`n,, All | |
Send ^v | |
return |
i found another way to replace shift+enter for space
~^c::
clipboard := StrReplace(Clipboard, "r
n", " ")
return
@MangerzArt you dont need to use return on final line
~^c::
{
clipboard := StrReplace(Clipboard, "`r`n", "")
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you very much ^^