Code: Select all
; Tested with AutoHotKey L Version 1.1.29.1
; I've noticed others have experienced this problem as well
; but I think I stumbled on a work-around for the problem
; Line below is used to prefix every line of text on the clipboard with "; "
clipboard := RegExReplace(clipboard, "([^\n]+)", "; $1") ; This works as shown by msgbox
; The Problem:
SendInput, ^v ; Doesn't paste anything
Sendinput, {Ctrl Down}v{Ctrl Up} ; This pastes the prefixed text on the clipboard as expected