My code :
HotKeySet("^v","ClipboardToKeystroke")
While 1
WEnd
Func ClipboardToKeystroke()
Send(ClipGet(),1)
EndFunc
Unfortunately it doesn't behave like what I expect. For a single line, it works well but for multiple lines it send duplicate of enter. Eg :
Original text :
This is the 1st line
This is the 2nd line
After auto keystroke :
This is the 1st line
This is the 2nd line
And one more thing, there is also a problem with the Ctrl key after send the keystroke, it seems the Ctrl key is hold and I have to press the Ctrl key again to release it.
So is there a workaround ?