Just try this but inside the script (where this code is written). (I'm using the VScode editor)
Code: Select all
::test::
send,
(
line1
line2
line3
)
return
Code: Select all
testline2
line3
Code: Select all
::test::
send,
(
line1
line2
line3
)
return
Code: Select all
testline2
line3
Code: Select all
; start script , open notepad , write > test and use enter
;- case-1
::test::
e1=
(Ltrim join`r`n
Line1 aa
Line2 bb
Line3 cc
)
clipboard=%e1%
clipwait,5
Send,^v
clipboard=
return
esc::exitapp
;- case-2
/*
::test::
e1=
(Ltrim join`r`n
Line1 aa
Line2 bb
Line3 cc
)
Send, {Text}%e1%
return
esc::exitapp
*/
Users browsing this forum: No registered users and 138 guests