@kevin
I solved the escaping problem successfully with a single line of code.
Function PasteAutoInputDialog add code:
s.findreplace("$cel" "$sel")
This is probably the easiest way
Autotext Autotext3
Trigger $t
Function PasteAutoInputDialog
I solved the escaping problem successfully with a single line of code.
Function PasteAutoInputDialog add code:
s.findreplace("$cel" "$sel")
This is probably the easiest way
Autotext Autotext3
Trigger $t
/b/i/c/m
var :sub.Sub2 ;;var
#sub Sub2 m
_s=
F
;,case "$cel_$inp_Name$$"
;,s="$inp_item1$[]$inp_item2$[]$inp_item3$"
PasteAutoInputDialog(_s)
Function PasteAutoInputDialog
;/
function $template
;Calls <help>AutoInputDialog</help> and pastes the text. Also sets caret if need.
;EXAMPLE
;_s=
;F
;;Dear Mr. $inp_Customer$,
;;
;;thank you for contacting us. The price is $$inp_Price$. Let's meet next $inp_Day$.
;;
;;Thanks and best regards,
;;$set_CaretHere$
;;
;;$var_ShortDate$
;;
;PasteAutoInputDialog(_s)
int nLeft
str s=AutoInputDialog(template nLeft)
;Indirectly solve the escaping problem (replace $cel with $sel)
s.findreplace("$cel" "$sel")
spe 10
paste s
if(nLeft) key L(#nLeft)