I've tried this :
Code: Select all
^k::
send ^c
Sleep, 200
send {Down}{Enter}{up}
Sleep, 200
send ^v
Return
- Is there any commands to do so? Thanks.
Code: Select all
^k::
send ^c
Sleep, 200
send {Down}{Enter}{up}
Sleep, 200
send ^v
Return
Code: Select all
#Requires AutoHotkey v1.1.33
#If WinActive("Add ahk_exe anki.exe")
^k Up::
Clipboard := ""
Send {End}+{Home}^c
ClipWait 0
If ErrorLevel
MsgBox 48, Error, An error occurred while waiting for the clipboard.
Else Send {End}`n^v
Return
#If
Code: Select all
#IfWinActive, CodeQuick|SciTE4AutoHotkey|Adventure|AHK Studio|Pulover
!c:: ; Line duplicator
send {End}
send +{Home}
send ^c
send {};
send ^v
send {Enter}
send ^v
send {Alt up}
return
#IfWinActive,