but if I saved it to A-Clipboard and I used send ^v it won't cause any issue
Code: Select all
^q::
{
gg := ""
A_Clipboard := ""
Send "^c"
if !ClipWait(0.2,0)
{
MsgBox ("There is no text!")
return
}
gg := ("[quote]" . A_Clipboard . "[/quote]")
A_Clipboard := gg
Send "^v"
return
}
Code: Select all
[quote]aaa
aaaa
aaaa
[/quote]
send, send input ,send text mothed (bad result ,new lines)
Code: Select all
^q::
{
gg := ""
A_Clipboard := ""
Send "^c"
if !ClipWait(0.2,0)
{
MsgBox ("There is no text!")
return
}
gg := ("[quote]" . A_Clipboard . "[/quote]")
;A_Clipboard := gg
Send (gg)
return
}
Code: Select all
[quote]aaa
aaaa
aaaa
[/quote]